aboutsummaryrefslogtreecommitdiff
path: root/examples/t-spawn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-spawn.rs')
-rw-r--r--examples/t-spawn.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/examples/t-spawn.rs b/examples/t-spawn.rs
index cf850e46..c9949ef9 100644
--- a/examples/t-spawn.rs
+++ b/examples/t-spawn.rs
@@ -7,7 +7,7 @@
use panic_halt as _;
-#[rtic::app(device = lm3s6965)]
+#[rtic::app(device = lm3s6965, dispatchers = [SSI0])]
mod app {
#[init]
fn init(_: init::Context) -> init::LateResources {
@@ -55,11 +55,4 @@ mod app {
#[task]
fn baz(_: baz::Context, _x: u32, _y: u32) {}
-
- // 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();
- }
}