mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-01 16:04:33 +01:00
rtic-monotonics: export fugit the same for all monotonics
This commit is contained in:
parent
2482719e92
commit
69ad6df2ed
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue