aboutsummaryrefslogtreecommitdiff
path: root/examples/t-schedule.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-schedule.rs')
-rw-r--r--examples/t-schedule.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/t-schedule.rs b/examples/t-schedule.rs
index 67fcb749..4a231822 100644
--- a/examples/t-schedule.rs
+++ b/examples/t-schedule.rs
@@ -53,7 +53,10 @@ const 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 UART1();
+ fn SSI0();
}
};