aboutsummaryrefslogtreecommitdiff
path: root/examples/capacity.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/capacity.rs')
-rw-r--r--examples/capacity.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/examples/capacity.rs b/examples/capacity.rs
index 29b4f04e..b25a7584 100644
--- a/examples/capacity.rs
+++ b/examples/capacity.rs
@@ -7,7 +7,7 @@
use panic_semihosting as _;
-#[rtic::app(device = lm3s6965)]
+#[rtic::app(device = lm3s6965, dispatchers = [SSI0])]
mod app {
use cortex_m_semihosting::{debug, hprintln};
use lm3s6965::Interrupt;
@@ -40,11 +40,4 @@ mod app {
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();
- }
}