1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-09-19 21:43:29 +01:00

fatal: SleepThread takes ns, not ticks

This commit is contained in:
Michael Scire 2018-11-10 03:22:21 -08:00
parent 5649b6d63f
commit 6335d21901

View file

@ -102,7 +102,7 @@ void PowerButtonObserveTask::WaitForPowerButton() {
}
/* Wait 100 ms between button checks. */
svcSleepThread(TimeoutHelper::NsToTick(100000000UL));
svcSleepThread(100000000UL);
}
}