stop ticking during intermittent sleep
This commit is contained in:
1 parent
85bfed0604
commit
cbdd35b0be
3 files changed
+19
No files matched your search
@@ -879,6 +879,11 @@ namespace clockManager {
|
||||
}
|
||||
|
||||
void WaitForNextTick() {
|
||||
if (!bpmp::IsAwake()) {
|
||||
svcSleepThread(250 * 1000000ULL); // 250ms
|
||||
return;
|
||||
}
|
||||
|
||||
if (board::GetHz(HocClkModule_MEM) > 665000000)
|
||||
svcSleepThread(config::GetConfigValue(HocClkConfigValue_PollingIntervalMs) * 1000000ULL);
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user