From 88fbd9a3c1cc2a57e06d5fd61a578c118c815bca Mon Sep 17 00:00:00 2001 From: Sun <22406854+SunTheCourier@users.noreply.github.com> Date: Sun, 21 Apr 2019 22:24:53 -0700 Subject: [PATCH] Use > to check for values below -1 --- stratosphere/fatal/source/fatal_task_power.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stratosphere/fatal/source/fatal_task_power.cpp b/stratosphere/fatal/source/fatal_task_power.cpp index 2b3e4fcb3..7608ee2ea 100644 --- a/stratosphere/fatal/source/fatal_task_power.cpp +++ b/stratosphere/fatal/source/fatal_task_power.cpp @@ -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;