fix(ke): acquire debug lock at high IPL

This commit is contained in:
Loïc Grégoire
2026-04-19 20:59:46 -04:00
parent 02fdb1313d
commit 36690a8149
+1 -1
View File
@@ -68,7 +68,7 @@ pub fn log(
// which would consume the ringbuffer from multiple consoles in a separate thread.
var writer = DebugWriter.init();
const ipl = out_lock.acquire();
const ipl = out_lock.acquire_at(.High);
defer out_lock.release(ipl);
writer.interface.print("[{:>5}.{:06}] ", .{ res.info.timestamp / std.time.ns_per_s, res.info.timestamp / std.time.ns_per_us }) catch return;