aboutsummaryrefslogtreecommitdiff
path: root/examples/extern_spawn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/extern_spawn.rs')
-rw-r--r--examples/extern_spawn.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/extern_spawn.rs b/examples/extern_spawn.rs
index 2d9d7b63..8a3928d5 100644
--- a/examples/extern_spawn.rs
+++ b/examples/extern_spawn.rs
@@ -12,7 +12,7 @@ use panic_semihosting as _;
// Free function implementing the spawnable task `foo`.
// Notice, you need to indicate an anonymous lifetime <'a_>
async fn foo(_c: app::foo::Context<'_>) {
- hprintln!("foo").unwrap();
+ hprintln!("foo");
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
}