rtic/macros/ui/task-bind.rs

8 lines
123 B
Rust
Raw Normal View History

#![no_main]
#[rtic_macros::mock_app(device = mock)]
mod app {
#[task(binds = UART0)]
fn foo(_: foo::Context) {}
}