aboutsummaryrefslogtreecommitdiff
path: root/examples/periodic-preemption.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/periodic-preemption.rs')
-rw-r--r--examples/periodic-preemption.rs3
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,