aboutsummaryrefslogtreecommitdiff
path: root/examples/common.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/common.rs')
-rw-r--r--examples/common.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/common.rs b/examples/common.rs
index 1fe671e6..7dcc5421 100644
--- a/examples/common.rs
+++ b/examples/common.rs
@@ -73,7 +73,7 @@ mod app {
// This task is only spawned once in `init`, hence this task will run
// only once
- hprintln!("foo").ok();
+ hprintln!("foo");
}
// Software task, also not bound to a hardware interrupt
@@ -81,7 +81,7 @@ mod app {
// The resources `s1` and `s2` are shared between all other tasks.
#[task(shared = [s1, s2], local = [l2])]
fn bar(_: bar::Context) {
- hprintln!("bar").ok();
+ hprintln!("bar");
// Run `bar` once per second
bar::spawn_after(1.secs()).unwrap();
@@ -97,6 +97,6 @@ mod app {
// Note that RTIC does NOT clear the interrupt flag, this is up to the
// user
- hprintln!("UART0 interrupt!").ok();
+ hprintln!("UART0 interrupt!");
}
}