aboutsummaryrefslogtreecommitdiff
path: root/ui/single/resources-cfg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ui/single/resources-cfg.rs')
-rw-r--r--ui/single/resources-cfg.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/single/resources-cfg.rs b/ui/single/resources-cfg.rs
index f8c3672..6f608fa 100644
--- a/ui/single/resources-cfg.rs
+++ b/ui/single/resources-cfg.rs
@@ -41,16 +41,16 @@ const APP: () = {
loop {}
}
- #[interrupt(resources = [O3, S1, S2, S3])]
- fn UART0(c: UART0::Context) {
+ #[task(binds = UART0, resources = [O3, S1, S2, S3])]
+ fn uart0(c: uart0::Context) {
c.resources.O3;
c.resources.S1;
c.resources.S2;
c.resources.S3;
}
- #[interrupt(resources = [S2, O5])]
- fn UART1(c: UART1::Context) {
+ #[task(binds = UART1, resources = [S2, O5])]
+ fn uart1(c: uart1::Context) {
c.resources.S2;
c.resources.O5;
}