diff options
Diffstat (limited to 'examples/t-spawn.rs')
-rw-r--r-- | examples/t-spawn.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/t-spawn.rs b/examples/t-spawn.rs index 4fc1f4e3..2d941b15 100644 --- a/examples/t-spawn.rs +++ b/examples/t-spawn.rs @@ -52,7 +52,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(); } }; |