aboutsummaryrefslogtreecommitdiff
path: root/ui/single/locals-cfg.rs
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2019-06-20 06:19:59 +0200
committerJorge Aparicio <jorge@japaric.io>2019-06-20 06:19:59 +0200
commit4e51bb68b976c6bb6a9a989dc560d2a8123a84ca (patch)
tree5c14f21f904c15034d477c7e4400e01d212a9f2a /ui/single/locals-cfg.rs
parentb150ab29e25637e41ba5de81f6cbbdfe24834a3f (diff)
RFC #207
Diffstat (limited to 'ui/single/locals-cfg.rs')
-rw-r--r--ui/single/locals-cfg.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/single/locals-cfg.rs b/ui/single/locals-cfg.rs
index bcce5ca..8761f72 100644
--- a/ui/single/locals-cfg.rs
+++ b/ui/single/locals-cfg.rs
@@ -20,16 +20,16 @@ const APP: () = {
loop {}
}
- #[exception]
- fn SVCall(_: SVCall::Context) {
+ #[task(binds = SVCall)]
+ fn svcall(_: svcall::Context) {
#[cfg(never)]
static mut FOO: u32 = 0;
FOO;
}
- #[interrupt]
- fn UART0(_: UART0::Context) {
+ #[task(binds = UART0)]
+ fn uart0(_: uart0::Context) {
#[cfg(never)]
static mut FOO: u32 = 0;