aboutsummaryrefslogtreecommitdiff
path: root/examples/t-stask-main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-stask-main.rs')
-rw-r--r--examples/t-stask-main.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/examples/t-stask-main.rs b/examples/t-stask-main.rs
index 56dc1af5..034ad7c5 100644
--- a/examples/t-stask-main.rs
+++ b/examples/t-stask-main.rs
@@ -5,7 +5,7 @@
use panic_semihosting as _;
-#[rtic::app(device = lm3s6965)]
+#[rtic::app(device = lm3s6965, dispatchers = [SSI0])]
mod app {
use cortex_m_semihosting::debug;
@@ -20,11 +20,4 @@ mod app {
fn taskmain(_: taskmain::Context) {
debug::exit(debug::EXIT_SUCCESS);
}
-
- // 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();
- }
}