diff options
Diffstat (limited to 'examples/schedule.rs')
-rw-r--r-- | examples/schedule.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/examples/schedule.rs b/examples/schedule.rs index f57f53f5..5f73c500 100644 --- a/examples/schedule.rs +++ b/examples/schedule.rs @@ -8,7 +8,7 @@ use panic_halt as _; // NOTE: does NOT work on QEMU! -#[rtic::app(device = lm3s6965, monotonic = rtic::cyccnt::CYCCNT)] +#[rtic::app(device = lm3s6965, monotonic = rtic::cyccnt::CYCCNT, dispatchers = [SSI0])] mod app { use cortex_m::peripheral::DWT; use cortex_m_semihosting::hprintln; @@ -46,11 +46,4 @@ mod app { fn bar(_: bar::Context) { hprintln!("bar @ {:?}", Instant::now()).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(); - } } |