Disable interrupts on Reboot / Shutdown buttons

This commit is contained in:
Alex
2023-03-20 03:06:27 +02:00
parent c9c58f78a8
commit 6408121b3e

View File

@ -286,13 +286,13 @@ namespace Recovery
void RebootCommandThread()
{
TaskManager->Sleep(1000);
CriticalSection cs;
PowerManager->Reboot();
}
void ShutdownCommandThread()
{
TaskManager->Sleep(1000);
CriticalSection cs;
PowerManager->Shutdown();
}