Revert "Shutdown via rosalina menu is now much faster; similar thing for reboot"
This reverts commit 9942e8b299
.
This commit is contained in:
parent
d3e62df769
commit
0b4fdc6e66
@ -111,10 +111,8 @@ void RosalinaMenu_Reboot(void)
|
|||||||
|
|
||||||
if(pressed & BUTTON_A)
|
if(pressed & BUTTON_A)
|
||||||
{
|
{
|
||||||
|
APT_HardwareResetAsync();
|
||||||
menuLeave();
|
menuLeave();
|
||||||
ptmSysmInit();
|
|
||||||
PTMSYSM_RebootAsync(4 * 1000 * 1000 * 1000LL); // Kill everything after 4s (value used by PM on firmlaunch)
|
|
||||||
ptmSysmExit();
|
|
||||||
} else if(pressed & BUTTON_B)
|
} else if(pressed & BUTTON_B)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -141,9 +139,7 @@ void RosalinaMenu_PowerOff(void) // Soft shutdown.
|
|||||||
if(pressed & BUTTON_A)
|
if(pressed & BUTTON_A)
|
||||||
{
|
{
|
||||||
menuLeave();
|
menuLeave();
|
||||||
ptmSysmInit();
|
srvPublishToSubscriber(0x203, 0);
|
||||||
PTMSYSM_ShutdownAsync(4 * 1000 * 1000 * 1000LL); // Kill everything after 4s (value used by PM on firmlaunch)
|
|
||||||
ptmSysmExit();
|
|
||||||
}
|
}
|
||||||
else if(pressed & BUTTON_B)
|
else if(pressed & BUTTON_B)
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user