rtic/ui/single/exception-systick-used.rs

11 lines
198 B
Rust
Raw Permalink Normal View History

#![no_main]
#[rtfm::app(device = lm3s6965)]
const APP: () = {
2019-06-20 06:19:59 +02:00
#[task(binds = SysTick)]
fn sys_tick(_: sys_tick::Context) {}
#[task(schedule = [foo])]
fn foo(_: foo::Context) {}
};