From 918f9c3f13a75d6d01f283702353ebc31bf36c69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Sun, 23 Jun 2024 08:45:49 +0200 Subject: 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 --- rtic-monotonics/src/stm32.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rtic-monotonics/src/stm32.rs') diff --git a/rtic-monotonics/src/stm32.rs b/rtic-monotonics/src/stm32.rs index 4952882..6b3e4c9 100644 --- a/rtic-monotonics/src/stm32.rs +++ b/rtic-monotonics/src/stm32.rs @@ -51,7 +51,7 @@ pub mod prelude { pub use fugit::{self, ExtU64, ExtU64Ceil}; } -use atomic_polyfill::{AtomicU64, Ordering}; +use portable_atomic::{AtomicU64, Ordering}; use rtic_time::{ half_period_counter::calculate_now, timer_queue::{TimerQueue, TimerQueueBackend}, -- cgit v1.2.3