mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-05 17:12:14 +02:00
Use > to check for values below -1
This commit is contained in:
parent
650ee8fd97
commit
88fbd9a3c1
@ -96,7 +96,7 @@ void PowerButtonObserveTask::WaitForPowerButton() {
|
||||
const FatalConfig *config = GetFatalConfig();
|
||||
TimeoutHelper reboot_helper(config->quest_reboot_interval_second * 1000000000UL);
|
||||
|
||||
if (config->fatal_auto_reboot_interval != -1) {
|
||||
if (config->fatal_auto_reboot_interval > -1) {
|
||||
svcSleepThread(config->fatal_auto_reboot_interval);
|
||||
bpcRebootSystem();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user