diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2024-06-23 08:45:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-23 06:45:49 +0000 |
| commit | 918f9c3f13a75d6d01f283702353ebc31bf36c69 (patch) | |
| tree | ab3211474731fffee997e7a01ded708d88421133 /rtic-monotonics/src/nrf/timer.rs | |
| parent | 9aeae030e7834d164172d5d1d811cb4cbd16253c (diff) | |
Breaking change: portable-atomic (#922)
* Atomics: Replace polyfill with portable-atomic
* Update Cargo.lock for examples
* RTIC: portable-atomic: Update changelog
* rtic-monotonics: portable-atomic: Update changelog
* lm3s6965: enable critical-section when testing
* xtask: Enable portable-atomic/critical-section
When dealing with rtic-monotonics
* rtic-monotonics: portable-atomics: Do not disable the ability to fallback
---------
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
Diffstat (limited to 'rtic-monotonics/src/nrf/timer.rs')
| -rw-r--r-- | rtic-monotonics/src/nrf/timer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtic-monotonics/src/nrf/timer.rs b/rtic-monotonics/src/nrf/timer.rs index 35e3743..6bf1968 100644 --- a/rtic-monotonics/src/nrf/timer.rs +++ b/rtic-monotonics/src/nrf/timer.rs @@ -71,7 +71,7 @@ pub use nrf5340_net_pac::{ #[doc(hidden)] pub use nrf9160_pac::{self as pac, TIMER0_NS as TIMER0, TIMER1_NS as TIMER1, TIMER2_NS as TIMER2}; -use atomic_polyfill::{AtomicU32, Ordering}; +use portable_atomic::{AtomicU32, Ordering}; use rtic_time::{ half_period_counter::calculate_now, timer_queue::{TimerQueue, TimerQueueBackend}, |
