mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-25 11:29:33 +01:00
10 lines
198 B
Rust
10 lines
198 B
Rust
#![no_main]
|
|
|
|
#[rtfm::app(device = lm3s6965)]
|
|
const APP: () = {
|
|
#[task(binds = SysTick)]
|
|
fn sys_tick(_: sys_tick::Context) {}
|
|
|
|
#[task(schedule = [foo])]
|
|
fn foo(_: foo::Context) {}
|
|
};
|