rtic-monotonics: export fugit the same for all monotonics

This commit is contained in:
Emil Fresk 2023-04-10 21:38:26 +02:00
parent 2482719e92
commit 69ad6df2ed
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@
use super::Monotonic; use super::Monotonic;
pub use super::{TimeoutError, TimerQueue}; pub use super::{TimeoutError, TimerQueue};
use core::future::Future; use core::future::Future;
pub use fugit::ExtU64; pub use fugit::{self, ExtU64};
use rp2040_pac::{timer, Interrupt, NVIC, RESETS, TIMER}; use rp2040_pac::{timer, Interrupt, NVIC, RESETS, TIMER};
/// Timer implementing `rtic_monotonic::Monotonic` which runs at 1 MHz. /// Timer implementing `rtic_monotonic::Monotonic` which runs at 1 MHz.

View file

@ -29,7 +29,7 @@ pub use super::{TimeoutError, TimerQueue};
use atomic_polyfill::{AtomicU32, Ordering}; use atomic_polyfill::{AtomicU32, Ordering};
use core::future::Future; use core::future::Future;
use cortex_m::peripheral::SYST; 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 // Features should be additive, here systick-100hz gets picked if both
// `systick-100hz` and `systick-10khz` are enabled. // `systick-100hz` and `systick-10khz` are enabled.