aboutsummaryrefslogtreecommitdiff
path: root/examples/baseline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/baseline.rs')
-rw-r--r--examples/baseline.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/examples/baseline.rs b/examples/baseline.rs
index 82f1887e..17278748 100644
--- a/examples/baseline.rs
+++ b/examples/baseline.rs
@@ -8,7 +8,7 @@
use panic_semihosting as _;
// NOTE: does NOT properly 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_semihosting::{debug, hprintln};
use lm3s6965::Interrupt;
@@ -47,11 +47,4 @@ mod app {
// `foo` inherits the baseline of `UART0`: its `start` time
foo::spawn().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();
- }
}