mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-01-19 01:34:10 +01:00
fatal: SleepThread takes ns, not ticks
This commit is contained in:
parent
5649b6d63f
commit
6335d21901
@ -102,7 +102,7 @@ void PowerButtonObserveTask::WaitForPowerButton() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Wait 100 ms between button checks. */
|
/* Wait 100 ms between button checks. */
|
||||||
svcSleepThread(TimeoutHelper::NsToTick(100000000UL));
|
svcSleepThread(100000000UL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user