diff options
Diffstat (limited to 'tests/cfail/token-outlive.rs')
| -rw-r--r-- | tests/cfail/token-outlive.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/cfail/token-outlive.rs b/tests/cfail/token-outlive.rs index 93d1c60..777729a 100644 --- a/tests/cfail/token-outlive.rs +++ b/tests/cfail/token-outlive.rs @@ -1,18 +1,19 @@ #![deny(warnings)] #![feature(const_fn)] #![feature(proc_macro)] +#![no_std] #[macro_use(task)] extern crate cortex_m_rtfm as rtfm; extern crate stm32f103xx; -use rtfm::{app, Threshold}; +use rtfm::{app, Resource, Threshold}; app! { device: stm32f103xx, resources: { - STATE: bool = false; + static STATE: bool = false; }, tasks: { |
