Kernel: Rework sleeping API

instead of sleep_{ns,ms} we now have sleep_{for,until}_{ns,ms}. This
makes code cleaner that just wants to sleep until some timestamp
This commit is contained in:
2026-07-02 15:22:52 +03:00
parent 6f002f0c07
commit 20663b533b
11 changed files with 62 additions and 26 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ namespace Kernel
// 4.3 The software must wait at least 521 us (25 frames) after reading CRST as a 1
// before assuming that codecs have all made status change requests and have been
// registered by the controller
SystemTimer::get().sleep_ms(1);
SystemTimer::get().sleep_for_ns(521'000);
return {};
}