rtic/ui/exception-invalid.rs

19 lines
333 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
}
2019-06-20 06:19:59 +02:00
#[task(binds = NonMaskableInt)]
fn nmi(_: nmi::Context) {}
}