aboutsummaryrefslogtreecommitdiff
path: root/examples/binds.rs
diff options
context:
space:
mode:
authorEmil Fresk <emil.fresk@gmail.com>2023-01-08 19:40:31 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-03-01 00:33:28 +0100
commitceaf3613d3256f60b139a4f93220e3c298603b83 (patch)
tree02ee64f2ac4bebea1abe85f85ca761e44ea8beb9 /examples/binds.rs
parent9a67f00a30f14df3b9635913f728afd0b40c138d (diff)
Update semihosting
Diffstat (limited to 'examples/binds.rs')
-rw-r--r--examples/binds.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/binds.rs b/examples/binds.rs
index ec25ccc..d78dffb 100644
--- a/examples/binds.rs
+++ b/examples/binds.rs
@@ -23,14 +23,14 @@ mod app {
fn init(_: init::Context) -> (Shared, Local) {
rtic::pend(Interrupt::UART0);
- hprintln!("init").unwrap();
+ hprintln!("init");
(Shared {}, Local {})
}
#[idle]
fn idle(_: idle::Context) -> ! {
- hprintln!("idle").unwrap();
+ hprintln!("idle");
rtic::pend(Interrupt::UART0);
@@ -49,7 +49,6 @@ mod app {
"foo called {} time{}",
*cx.local.times,
if *cx.local.times > 1 { "s" } else { "" }
- )
- .unwrap();
+ );
}
}