rtic/rtic-macros/ui/task-double-shared.rs

8 lines
142 B
Rust
Raw Normal View History

#![no_main]
#[rtic_macros::mock_app(device = mock)]
mod app {
#[task(shared = [A], shared = [B])]
async fn foo(_: foo::Context) {}
}