From 6fc7b964748dab3161292fe7470aeadc8bf6e646 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Thu, 22 Apr 2021 17:39:07 +0200 Subject: use super::xx now works with monotonics --- examples/t-schedule.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples') diff --git a/examples/t-schedule.rs b/examples/t-schedule.rs index d705160..4ce62b4 100644 --- a/examples/t-schedule.rs +++ b/examples/t-schedule.rs @@ -7,11 +7,15 @@ use panic_semihosting as _; +pub struct SomeStruct; + #[rtic::app(device = lm3s6965, dispatchers = [SSI0])] mod app { use dwt_systick_monotonic::DwtSystick; use rtic::time::duration::Seconds; + use super::SomeStruct; + #[monotonic(binds = SysTick, default = true)] type MyMono = DwtSystick<8_000_000>; // 8 MHz -- cgit v1.2.3