diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2023-01-11 21:40:33 +0100 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2023-01-11 21:40:33 +0100 |
| commit | c370c0b21f054fa224680b95df63ca3d59f33ba1 (patch) | |
| tree | 2969b2084e81228aa17615498d8154178c0a8e41 /examples/periodic-at.rs | |
| parent | 1fe587c5160b9e99bbb67644318cb9e5c9c56b4e (diff) | |
Remove ok() from hprintln!()
sd 'hprintln(.*).ok\(\)' 'hprintln' (fd -e rs .)
Diffstat (limited to 'examples/periodic-at.rs')
| -rw-r--r-- | examples/periodic-at.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/periodic-at.rs b/examples/periodic-at.rs index f9fd995..1116210 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 { |
