aboutsummaryrefslogtreecommitdiff
path: root/examples/task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/task.rs')
-rw-r--r--examples/task.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/task.rs b/examples/task.rs
index 10a4dc73..12c4ac83 100644
--- a/examples/task.rs
+++ b/examples/task.rs
@@ -45,9 +45,11 @@ const APP: () = {
hprintln!("baz").unwrap();
}
- // Interrupt handlers used to dispatch software tasks
+ // 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 UART0();
- fn UART1();
+ fn SSI0();
+ fn QEI0();
}
};