mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 13:55:23 +01:00
esp32c3 support
This commit is contained in:
parent
3b8d787a91
commit
2b2208e217
27 changed files with 525 additions and 60 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue