mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
Fix bit checking in DMA irq
This commit is contained in:
parent
331a64a4ea
commit
295af2a057
@ -17,7 +17,7 @@ unsafe fn DMA_IRQ_0() {
|
||||
|
||||
critical_section::with(|_| {
|
||||
for channel in 0..CHANNEL_COUNT {
|
||||
if ints0 & (1 << channel) == 1 {
|
||||
if ints0 & (1 << channel) == (1 << channel) {
|
||||
CHANNEL_WAKERS[channel].wake();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user