aboutsummaryrefslogtreecommitdiff
path: root/examples/types.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/types.rs')
-rw-r--r--examples/types.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/types.rs b/examples/types.rs
index 29dedaff..e14ab0c8 100644
--- a/examples/types.rs
+++ b/examples/types.rs
@@ -52,7 +52,10 @@ const APP: () = {
let _: foo::Spawn = cx.spawn;
}
+ // 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();
}
};