diff options
Diffstat (limited to 'examples/t-cfg.rs')
-rw-r--r-- | examples/t-cfg.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/t-cfg.rs b/examples/t-cfg.rs index feb71144..52e6d1c9 100644 --- a/examples/t-cfg.rs +++ b/examples/t-cfg.rs @@ -43,8 +43,11 @@ const APP: () = { #[task] fn quux(_: quux::Context) {} + // 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(); } }; |