diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2023-04-10 21:38:26 +0200 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2023-04-10 21:38:26 +0200 |
| commit | 69ad6df2ed936e9758e31fdfcdbe93ab1313e69f (patch) | |
| tree | 1b03c88ff38df4a873280ebcd273d834af6351b5 /rtic-monotonics/src | |
| parent | 2482719e924b1d272de95eb90c777d380176a2aa (diff) | |
rtic-monotonics: export fugit the same for all monotonics
Diffstat (limited to 'rtic-monotonics/src')
| -rw-r--r-- | rtic-monotonics/src/rp2040.rs | 2 | ||||
| -rw-r--r-- | 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 c656afc..8c248f9 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 6a28a11..cba9aa2 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. |
