mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-14 03:25:25 -04:00
[EGD-8131] Add Reboot/Poweroff for _platform_exit()
Add support for Reboot and Power off for the _platform_exit code. Add _platform_exit mode handle Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
This commit is contained in:
committed by
Lucjan Bryndza
parent
6142f6670b
commit
e9ee2af0dc
@@ -182,10 +182,12 @@ namespace sys
|
||||
systemDeinit();
|
||||
}
|
||||
|
||||
// Power off request (pending)
|
||||
PowerOff();
|
||||
|
||||
// End of scheduler and back to the main and poweroff
|
||||
EndScheduler();
|
||||
|
||||
// Power off system
|
||||
PowerOff();
|
||||
}
|
||||
|
||||
void SystemManagerCommon::initialize()
|
||||
|
||||
Reference in New Issue
Block a user