diff options
Diffstat (limited to 'examples/spawn.rs')
-rw-r--r-- | examples/spawn.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/examples/spawn.rs b/examples/spawn.rs index 300b3b3a..449fcfb9 100644 --- a/examples/spawn.rs +++ b/examples/spawn.rs @@ -7,7 +7,7 @@ use panic_semihosting as _; -#[rtic::app(device = lm3s6965)] +#[rtic::app(device = lm3s6965, dispatchers = [SSI0])] mod app { use cortex_m_semihosting::{debug, hprintln}; @@ -26,11 +26,4 @@ mod app { } foo::spawn(2, 3).unwrap(); } - - // RTIC requires that unused interrupts are declared in an extern block when - // using software tasks; these free interrupts will be used to dispatch the - // software tasks. - extern "C" { - fn SSI0(); - } } |