diff options
Diffstat (limited to 'examples/idle.rs')
-rw-r--r-- | examples/idle.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/idle.rs b/examples/idle.rs index 55d6b153..ad04fd68 100644 --- a/examples/idle.rs +++ b/examples/idle.rs @@ -19,7 +19,7 @@ mod app { #[init] fn init(_: init::Context) -> (Shared, Local, init::Monotonics) { - hprintln!("init").unwrap(); + hprintln!("init"); (Shared {}, Local {}, init::Monotonics()) } @@ -29,7 +29,7 @@ mod app { // Locals in idle have lifetime 'static let _x: &'static mut u32 = cx.local.x; - hprintln!("idle").unwrap(); + hprintln!("idle"); debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator |