diff options
author | 2023-01-08 19:40:31 +0100 | |
---|---|---|
committer | 2023-03-01 00:33:28 +0100 | |
commit | ceaf3613d3256f60b139a4f93220e3c298603b83 (patch) | |
tree | 02ee64f2ac4bebea1abe85f85ca761e44ea8beb9 /examples/extern_spawn.rs | |
parent | 9a67f00a30f14df3b9635913f728afd0b40c138d (diff) | |
download | rtic-ceaf3613d3256f60b139a4f93220e3c298603b83.tar.gz rtic-ceaf3613d3256f60b139a4f93220e3c298603b83.tar.zst rtic-ceaf3613d3256f60b139a4f93220e3c298603b83.zip |
Update semihosting
Diffstat (limited to 'examples/extern_spawn.rs')
-rw-r--r-- | examples/extern_spawn.rs | 2 |
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 } |