mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-21 07:28:21 -04:00
[EGD-7584] Fix OS factory reset
There was an issue that we were deleting files which were still open. Added removed of FI .indexed file.
This commit is contained in:
@@ -147,12 +147,10 @@ namespace sys
|
||||
LOG_INFO(" ---> REBOOT <--- ");
|
||||
powerManager->Reboot();
|
||||
break;
|
||||
case State::ShutdownReady: {
|
||||
case State::ShutdownReady:
|
||||
LOG_INFO(" ---> SHUTDOWN <--- ");
|
||||
powerManager->PowerOff();
|
||||
}
|
||||
|
||||
break;
|
||||
break;
|
||||
case State::RebootToUpdate:
|
||||
LOG_INFO(" ---> REBOOT TO UPDATER <--- ");
|
||||
powerManager->RebootToUpdate(updateReason);
|
||||
|
||||
Reference in New Issue
Block a user