rosalina shutdown/reboot: fix a few things
This commit is contained in:
parent
0b4fdc6e66
commit
0c55324d11
@ -175,7 +175,7 @@ void menuThreadMain(void)
|
||||
}
|
||||
}
|
||||
|
||||
static u32 menuRefCount = 0;
|
||||
static s32 menuRefCount = 0;
|
||||
void menuEnter(void)
|
||||
{
|
||||
Draw_Lock();
|
||||
|
@ -111,8 +111,9 @@ void RosalinaMenu_Reboot(void)
|
||||
|
||||
if(pressed & BUTTON_A)
|
||||
{
|
||||
APT_HardwareResetAsync();
|
||||
menuLeave();
|
||||
APT_HardwareResetAsync();
|
||||
return;
|
||||
} else if(pressed & BUTTON_B)
|
||||
return;
|
||||
}
|
||||
@ -140,6 +141,7 @@ void RosalinaMenu_PowerOff(void) // Soft shutdown.
|
||||
{
|
||||
menuLeave();
|
||||
srvPublishToSubscriber(0x203, 0);
|
||||
return;
|
||||
}
|
||||
else if(pressed & BUTTON_B)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user