diff options
author | 2018-05-29 12:23:09 +0200 | |
---|---|---|
committer | 2018-05-29 12:23:09 +0200 | |
commit | 7b598c0749aa5390cfefc8e138c05fafa7599dc6 (patch) | |
tree | 96ad83412844c6228e8973e6ea532e75a8e58623 /examples/periodic-preemption.rs | |
parent | 8e49af1cc0b8b3f4a3c9c4080e63d8d2ee1e6c36 (diff) | |
download | rtic-tq.tar.gz rtic-tq.tar.zst rtic-tq.zip |
bump rtfm-syntaxtq
Diffstat (limited to 'examples/periodic-preemption.rs')
-rw-r--r-- | examples/periodic-preemption.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/periodic-preemption.rs b/examples/periodic-preemption.rs index 3ca45806..069e61b2 100644 --- a/examples/periodic-preemption.rs +++ b/examples/periodic-preemption.rs @@ -65,6 +65,7 @@ #![deny(unsafe_code)] #![deny(warnings)] #![feature(proc_macro)] +#![feature(proc_macro_gen)] #![no_main] #![no_std] @@ -78,7 +79,7 @@ extern crate stm32f103xx; use cortex_m::peripheral::{DWT, ITM}; use rt::ExceptionFrame; -use rtfm::{app, Resource}; +use rtfm::app; app! { device: stm32f103xx, |