aboutsummaryrefslogtreecommitdiff
path: root/rtic-sync/src/channel.rs
diff options
context:
space:
mode:
authoronsdagens <pawdzi-7@student.ltu.se>2023-09-27 21:39:35 +0200
committerEmil Fresk <emil.fresk@gmail.com>2023-09-27 19:50:13 +0000
commit2b2208e217a96086696bd6f36cff2a6cd4c4ac9f (patch)
treec17d993fd70954663c0f0ffb6b6afed5228f9714 /rtic-sync/src/channel.rs
parent3b8d787a917a7a39b28bea85ba2b3a86539e0852 (diff)
esp32c3 support
Diffstat (limited to 'rtic-sync/src/channel.rs')
-rw-r--r--rtic-sync/src/channel.rs2
1 files changed, 1 insertions, 1 deletions
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 {