From de30fb2a90735af9c0188efff862f28df8b93bae Mon Sep 17 00:00:00 2001 From: Zheng Li <875543533@qq.com> Date: Sun, 3 Dec 2023 20:05:20 +0800 Subject: [PATCH] Update riscv32.rs --- embassy-executor/src/arch/riscv32.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-executor/src/arch/riscv32.rs b/embassy-executor/src/arch/riscv32.rs index ca12c340..69d9b3cd 100644 --- a/embassy-executor/src/arch/riscv32.rs +++ b/embassy-executor/src/arch/riscv32.rs @@ -8,7 +8,7 @@ mod thread { use core::marker::PhantomData; pub use embassy_macros::main_riscv as main; - use portable_atomic::{AtomicBool, Ordering}; + use core::sync::atomic::{AtomicBool, Ordering}; use crate::{raw, Spawner};