aboutsummaryrefslogtreecommitdiff
path: root/examples/extern_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/extern_binds.rs
parent9a67f00a30f14df3b9635913f728afd0b40c138d (diff)
Update semihosting
Diffstat (limited to 'examples/extern_binds.rs')
-rw-r--r--examples/extern_binds.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/extern_binds.rs b/examples/extern_binds.rs
index c9fc108..23b99d5 100644
--- a/examples/extern_binds.rs
+++ b/examples/extern_binds.rs
@@ -10,7 +10,7 @@ use panic_semihosting as _;
// Free function implementing the interrupt bound task `foo`.
fn foo(_: app::foo::Context) {
- hprintln!("foo called").ok();
+ hprintln!("foo called");
}
#[rtic::app(device = lm3s6965)]
@@ -29,14 +29,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);