diff options
Diffstat (limited to 'examples/capacity.rs')
-rw-r--r-- | examples/capacity.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/capacity.rs b/examples/capacity.rs index e50f9294..00cec344 100644 --- a/examples/capacity.rs +++ b/examples/capacity.rs @@ -38,8 +38,10 @@ const APP: () = { debug::exit(debug::EXIT_SUCCESS); } - // Interrupt handlers used to dispatch software tasks + // 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(); } }; |