aboutsummaryrefslogtreecommitdiff
path: root/examples/t-stask-main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-stask-main.rs')
-rw-r--r--examples/t-stask-main.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/t-stask-main.rs b/examples/t-stask-main.rs
index 4245ef22..f2709404 100644
--- a/examples/t-stask-main.rs
+++ b/examples/t-stask-main.rs
@@ -18,7 +18,10 @@ 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 SSI0();
}
};