Skip to content

Commit 231d47c

Browse files
Update async-embedded/src/lib.rs
Co-authored-by: Vadim Kaushan <admin@disasm.info>
1 parent e59fb86 commit 231d47c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

async-embedded/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ pub(crate) unsafe fn signal_event_ready() {
9494
pub(crate) unsafe fn wait_for_event() {
9595
if !TASK_READY {
9696
riscv::asm::wfi();
97-
TASK_READY = false;
9897
}
98+
TASK_READY = false;
9999
}
100100

101101
/// Maximum number of tasks (TODO this could be user configurable)

0 commit comments

Comments
 (0)