mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-30 23:08:21 +00:00
ke/timer: make DPC parameter explicit
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ fn rand(state: *u64) u64 {
|
||||
fn delay_ms(ms: usize) void {
|
||||
var timer: ke.Timer = undefined;
|
||||
timer.init();
|
||||
ke.timer.set(&timer, std.time.ns_per_ms * ms, null);
|
||||
ke.timer.set(&timer, std.time.ns_per_ms * ms, .{});
|
||||
_ = ke.wait.wait_one(&timer.hdr, null) catch unreachable;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user