diff options
author | 2020-10-15 18:50:17 +0200 | |
---|---|---|
committer | 2020-10-21 20:25:05 +0200 | |
commit | f96b25fdf2d7421cc16830a4ccac4ebb3e69cc5d (patch) | |
tree | a782f21ca0659eda6b9b667e197c4927490a7bc4 /examples/t-schedule.rs | |
parent | 355cb82d0693fe108ac28ec8a0d77e8aab4e6e06 (diff) | |
download | rtic-f96b25fdf2d7421cc16830a4ccac4ebb3e69cc5d.tar.gz rtic-f96b25fdf2d7421cc16830a4ccac4ebb3e69cc5d.tar.zst rtic-f96b25fdf2d7421cc16830a4ccac4ebb3e69cc5d.zip |
Updated examples
More work
Diffstat (limited to 'examples/t-schedule.rs')
-rw-r--r-- | examples/t-schedule.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/t-schedule.rs b/examples/t-schedule.rs index 7c2c420c..b1faaa6d 100644 --- a/examples/t-schedule.rs +++ b/examples/t-schedule.rs @@ -6,10 +6,11 @@ #![no_std] use panic_halt as _; -use rtic::cyccnt::{Instant, U32Ext as _}; #[rtic::app(device = lm3s6965, monotonic = rtic::cyccnt::CYCCNT)] mod app { + use rtic::cyccnt::{Instant, U32Ext as _}; + #[init] fn init(c: init::Context) -> init::LateResources { let _: Result<(), ()> = foo::schedule(c.start + 10.cycles()); |