diff options
Diffstat (limited to 'examples/task.rs')
-rw-r--r-- | examples/task.rs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/examples/task.rs b/examples/task.rs index 60591b9f..5e4769a5 100644 --- a/examples/task.rs +++ b/examples/task.rs @@ -7,7 +7,7 @@ use panic_semihosting as _; -#[rtic::app(device = lm3s6965)] +#[rtic::app(device = lm3s6965, dispatchers = [SSI0, QEI0])] mod app { use cortex_m_semihosting::{debug, hprintln}; @@ -47,12 +47,4 @@ mod app { fn baz(_: baz::Context) { hprintln!("baz").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(); - fn QEI0(); - } } |