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