diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2021-07-07 22:50:59 +0200 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2021-07-07 23:07:09 +0200 |
| commit | 98d2af9d73da56910c8bb6cb662fbc4d609a704a (patch) | |
| tree | 46914250a980b9164b2d20cbeb08e126a86cf7ea /ui/extern-interrupt-not-enough.rs | |
| parent | 633012190baa0801efc7e3ab2f699778c5038d54 (diff) | |
Fixing tests
Diffstat (limited to 'ui/extern-interrupt-not-enough.rs')
| -rw-r--r-- | ui/extern-interrupt-not-enough.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ui/extern-interrupt-not-enough.rs b/ui/extern-interrupt-not-enough.rs index f262403..6e78634 100644 --- a/ui/extern-interrupt-not-enough.rs +++ b/ui/extern-interrupt-not-enough.rs @@ -2,6 +2,17 @@ #[rtic::app(device = lm3s6965)] mod app { + #[shared] + struct Shared {} + + #[local] + struct Local {} + + #[init] + fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) { + (Shared {}, Local {}, init::Monotonics {}) + } + #[task] fn a(_: a::Context) {} } |
