aboutsummaryrefslogtreecommitdiff
path: root/ui/single/exception-systick-used.rs
blob: 36ed1744b188400986d2e0f3669bd8c8ad186bdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#![no_main]

#[rtic::app(device = lm3s6965)]
const APP: () = {
    #[task(binds = SysTick)]
    fn sys_tick(_: sys_tick::Context) {}

    #[task(schedule = [foo])]
    fn foo(_: foo::Context) {}
};