rtic/ui/extern-interrupt-not-enough.rs

19 lines
305 B
Rust
Raw Permalink Normal View History

#![no_main]
2020-06-11 19:18:29 +02:00
#[rtic::app(device = lm3s6965)]
2020-05-19 20:00:13 +02:00
mod app {
2021-07-07 22:50:59 +02:00
#[shared]
struct Shared {}
#[local]
struct Local {}
#[init]
fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) {
(Shared {}, Local {}, init::Monotonics())
2021-07-07 22:50:59 +02:00
}
#[task]
fn a(_: a::Context) {}
}