aboutsummaryrefslogtreecommitdiff
path: root/examples/t-schedule.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-schedule.rs')
-rw-r--r--examples/t-schedule.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/t-schedule.rs b/examples/t-schedule.rs
index 5e38dbaf..d7051609 100644
--- a/examples/t-schedule.rs
+++ b/examples/t-schedule.rs
@@ -40,7 +40,7 @@ mod app {
let _: Result<(), ()> = handle.unwrap().cancel();
// Using default
- let _: Result<foo::SpawnHandle, ()> = foo::spawn_at(monotonics::MyMono::now());
+ let _: Result<foo::SpawnHandle, ()> = foo::spawn_at(monotonics::now());
let handle: Result<foo::SpawnHandle, ()> = foo::spawn_after(Seconds(1_u32));
let _: Result<foo::SpawnHandle, ()> = handle.unwrap().reschedule_after(Seconds(1_u32));