diff options
Diffstat (limited to 'examples/periodic.rs')
| -rw-r--r-- | examples/periodic.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/periodic.rs b/examples/periodic.rs index f84744a..405346e 100644 --- a/examples/periodic.rs +++ b/examples/periodic.rs @@ -29,7 +29,10 @@ const APP: () = { cx.schedule.foo(cx.scheduled + PERIOD.cycles()).unwrap(); } + // 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(); } }; |
