From 69ad6df2ed936e9758e31fdfcdbe93ab1313e69f Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Mon, 10 Apr 2023 21:38:26 +0200 Subject: [PATCH] rtic-monotonics: export fugit the same for all monotonics --- rtic-monotonics/src/rp2040.rs | 2 +- rtic-monotonics/src/systick.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rtic-monotonics/src/rp2040.rs b/rtic-monotonics/src/rp2040.rs index c656afca74..8c248f9cab 100644 --- a/rtic-monotonics/src/rp2040.rs +++ b/rtic-monotonics/src/rp2040.rs @@ -27,7 +27,7 @@ use super::Monotonic; pub use super::{TimeoutError, TimerQueue}; use core::future::Future; -pub use fugit::ExtU64; +pub use fugit::{self, ExtU64}; use rp2040_pac::{timer, Interrupt, NVIC, RESETS, TIMER}; /// Timer implementing `rtic_monotonic::Monotonic` which runs at 1 MHz. diff --git a/rtic-monotonics/src/systick.rs b/rtic-monotonics/src/systick.rs index 6a28a11774..cba9aa290d 100644 --- a/rtic-monotonics/src/systick.rs +++ b/rtic-monotonics/src/systick.rs @@ -29,7 +29,7 @@ pub use super::{TimeoutError, TimerQueue}; use atomic_polyfill::{AtomicU32, Ordering}; use core::future::Future; use cortex_m::peripheral::SYST; -pub use fugit::ExtU32; +pub use fugit::{self, ExtU32}; // Features should be additive, here systick-100hz gets picked if both // `systick-100hz` and `systick-10khz` are enabled.