aboutsummaryrefslogtreecommitdiff
path: root/examples/periodic-at.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/periodic-at.rs')
-rw-r--r--examples/periodic-at.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/periodic-at.rs b/examples/periodic-at.rs
index f9fd995f..11162102 100644
--- a/examples/periodic-at.rs
+++ b/examples/periodic-at.rs
@@ -35,7 +35,7 @@ mod app {
#[task(local = [cnt: u32 = 0])]
fn foo(cx: foo::Context, instant: fugit::TimerInstantU64<100>) {
- hprintln!("foo {:?}", instant).ok();
+ hprintln!("foo {:?}", instant);
*cx.local.cnt += 1;
if *cx.local.cnt == 4 {