aboutsummaryrefslogtreecommitdiff
path: root/examples/idle-wfi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/idle-wfi.rs')
-rw-r--r--examples/idle-wfi.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/idle-wfi.rs b/examples/idle-wfi.rs
index 4a8a8dee..42fd7b49 100644
--- a/examples/idle-wfi.rs
+++ b/examples/idle-wfi.rs
@@ -19,7 +19,7 @@ mod app {
#[init]
fn init(mut cx: init::Context) -> (Shared, Local, init::Monotonics) {
- hprintln!("init").unwrap();
+ hprintln!("init");
// Set the ARM SLEEPONEXIT bit to go to sleep after handling interrupts
// See https://developer.arm.com/docs/100737/0100/power-management/sleep-mode/sleep-on-exit-bit
@@ -33,7 +33,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
ption> Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/src/system_timer.zig (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-07-04Update __global.zigGravatar Jarred Sumner 1-4/+4
2022-07-04[jsc] Make JSC own the memory for source code stringsGravatar Jarred Sumner 2-19/+40