🎛️ Adds system service

This commit is contained in:
Rune Harlyk
2024-11-01 13:41:24 +01:00
parent 3054d5eb12
commit 9f3c4ffdf2
18 changed files with 237 additions and 442 deletions
@@ -125,7 +125,7 @@ esp_err_t UploadFirmwareService::uploadComplete(PsychicRequest *request) {
// if no error, send the success response
if (!request->_tempObject) {
request->reply(200);
RestartService::restartNow();
system_service::restart();
return ESP_OK;
}