aboutsummaryrefslogtreecommitdiff
path: root/examples/not-sync.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/not-sync.rs')
-rw-r--r--examples/not-sync.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/not-sync.rs b/examples/not-sync.rs
index 57b18d75..a7eaac8e 100644
--- a/examples/not-sync.rs
+++ b/examples/not-sync.rs
@@ -36,7 +36,10 @@ const APP: () = {
let _: &NotSync = c.resources.shared;
}
+ // 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 SSI0();
}
};