diff options
author | 2020-09-25 13:24:53 +0000 | |
---|---|---|
committer | 2020-09-25 14:33:08 +0000 | |
commit | 224e1991e0f4a6eb8d674ba129d8700b3b450d46 (patch) | |
tree | 2d9a0a6f5245484dfbaf9c807a49a07076d68f9b /examples/double_schedule.rs | |
parent | 5b17f8b599c75cf44f2d1bfb528c5dfa1f003ada (diff) | |
download | rtic-224e1991e0f4a6eb8d674ba129d8700b3b450d46.tar.gz rtic-224e1991e0f4a6eb8d674ba129d8700b3b450d46.tar.zst rtic-224e1991e0f4a6eb8d674ba129d8700b3b450d46.zip |
Update new example to use mod {}
Diffstat (limited to 'examples/double_schedule.rs')
-rw-r--r-- | examples/double_schedule.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/double_schedule.rs b/examples/double_schedule.rs index 6b3aec8f..837f0d6d 100644 --- a/examples/double_schedule.rs +++ b/examples/double_schedule.rs @@ -9,7 +9,8 @@ use panic_semihosting as _; use rtic::cyccnt::U32Ext; #[rtic::app(device = lm3s6965, monotonic = rtic::cyccnt::CYCCNT)] -const APP: () = { +mod app { + struct Resources { nothing: (), } @@ -34,4 +35,4 @@ const APP: () = { extern "C" { fn SSI0(); } -}; +} |