aboutsummaryrefslogtreecommitdiff
path: root/examples/not-send.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/not-send.rs')
-rw-r--r--examples/not-send.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/not-send.rs b/examples/not-send.rs
index fc2196c2..16a874dc 100644
--- a/examples/not-send.rs
+++ b/examples/not-send.rs
@@ -53,8 +53,11 @@ const 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 UART0();
- fn UART1();
+ fn SSI0();
+ fn QEI0();
}
};