From 2b2208e217a96086696bd6f36cff2a6cd4c4ac9f Mon Sep 17 00:00:00 2001 From: onsdagens Date: Wed, 27 Sep 2023 21:39:35 +0200 Subject: esp32c3 support --- rtic-sync/src/channel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rtic-sync/src/channel.rs') diff --git a/rtic-sync/src/channel.rs b/rtic-sync/src/channel.rs index 61ae7e2..89a23af 100644 --- a/rtic-sync/src/channel.rs +++ b/rtic-sync/src/channel.rs @@ -108,7 +108,7 @@ macro_rules! make_channel { static mut CHANNEL: $crate::channel::Channel<$type, $size> = $crate::channel::Channel::new(); - static CHECK: ::core::sync::atomic::AtomicU8 = ::core::sync::atomic::AtomicU8::new(0); + static CHECK: $crate::portable_atomic::AtomicU8 = $crate::portable_atomic::AtomicU8::new(0); $crate::channel::critical_section::with(|_| { if CHECK.load(::core::sync::atomic::Ordering::Relaxed) != 0 { -- cgit v1.2.3