diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2023-01-08 19:40:31 +0100 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2023-03-01 00:33:28 +0100 |
| commit | ceaf3613d3256f60b139a4f93220e3c298603b83 (patch) | |
| tree | 02ee64f2ac4bebea1abe85f85ca761e44ea8beb9 /examples/spawn.rs | |
| parent | 9a67f00a30f14df3b9635913f728afd0b40c138d (diff) | |
Update semihosting
Diffstat (limited to 'examples/spawn.rs')
| -rw-r--r-- | examples/spawn.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/spawn.rs b/examples/spawn.rs index 266ace8..384f0a0 100644 --- a/examples/spawn.rs +++ b/examples/spawn.rs @@ -20,7 +20,7 @@ mod app { #[init] fn init(_: init::Context) -> (Shared, Local) { - hprintln!("init").unwrap(); + hprintln!("init"); foo::spawn().unwrap(); (Shared {}, Local {}) @@ -28,7 +28,7 @@ mod app { #[task] async fn foo(_: foo::Context) { - hprintln!("foo").unwrap(); + hprintln!("foo"); debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator } |
