mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-29 13:29:34 +01:00
4c2c05a801
rtic-syntax is now part of RTIC repository
10 lines
182 B
Rust
10 lines
182 B
Rust
#![no_main]
|
|
|
|
#[rtic_macros::mock_app(parse_binds, device = mock)]
|
|
mod app {
|
|
#[task(binds = SysTick)]
|
|
fn foo(_: foo::Context) {}
|
|
|
|
#[task]
|
|
fn foo(_: foo::Context) {}
|
|
}
|