mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-20 06:45:36 +01:00
parent
3ef650832a
commit
1a49d67490
3 changed files with 27 additions and 4 deletions
15
ui/unknown-interrupt.rs
Normal file
15
ui/unknown-interrupt.rs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#![no_main]
|
||||
|
||||
#[rtic::app(device = lm3s6965, dispatchers = [UnknownInterrupt])]
|
||||
mod app {
|
||||
#[shared]
|
||||
struct Shared {}
|
||||
|
||||
#[local]
|
||||
struct Local {}
|
||||
|
||||
#[init]
|
||||
fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) {
|
||||
(Shared {}, Local {}, init::Monotonics())
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue