aboutsummaryrefslogtreecommitdiff
path: root/examples/cfg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cfg.rs')
-rw-r--r--examples/cfg.rs10
1 files changed, 1 insertions, 9 deletions
diff --git a/examples/cfg.rs b/examples/cfg.rs
index fae13e5b..d3f2cea1 100644
--- a/examples/cfg.rs
+++ b/examples/cfg.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;
#[cfg(debug_assertions)]
@@ -62,12 +62,4 @@ mod app {
)
.ok();
}
-
- // 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();
- }
}