aboutsummaryrefslogtreecommitdiff
path: root/examples/cfg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cfg.rs')
-rw-r--r--examples/cfg.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/cfg.rs b/examples/cfg.rs
index 534c3f80..02b39e34 100644
--- a/examples/cfg.rs
+++ b/examples/cfg.rs
@@ -57,8 +57,11 @@ const APP: () = {
.ok();
}
+ // 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();
}
};