rtic/rtic-macros/ui/task-interrupt.rs

11 lines
175 B
Rust
Raw Normal View History

#![no_main]
2023-01-03 07:51:35 +01:00
#[rtic_macros::mock_app(device = mock)]
mod app {
#[task(binds = SysTick)]
fn foo(_: foo::Context) {}
#[task]
async fn foo(_: foo::Context) {}
}