aboutsummaryrefslogtreecommitdiff
path: root/ui/single/exception-systick-used.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ui/single/exception-systick-used.rs')
-rw-r--r--ui/single/exception-systick-used.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/single/exception-systick-used.rs b/ui/single/exception-systick-used.rs
index d30da1bd..1155834f 100644
--- a/ui/single/exception-systick-used.rs
+++ b/ui/single/exception-systick-used.rs
@@ -2,8 +2,8 @@
#[rtfm::app(device = lm3s6965)]
const APP: () = {
- #[exception]
- fn SysTick(_: SysTick::Context) {}
+ #[task(binds = SysTick)]
+ fn sys_tick(_: sys_tick::Context) {}
#[task(schedule = [foo])]
fn foo(_: foo::Context) {}