Skip to content

Commit

Permalink
Merge pull request #580 from jlpettersson/fix_dma_irq_fn
Browse files Browse the repository at this point in the history
  • Loading branch information
jannic authored Apr 6, 2023
2 parents 29d57af + 3b20353 commit 9b7acef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rp2040-hal/src/dma/bidirectional.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ where
/// Check if an interrupt is pending for either channel and clear the corresponding pending bit
pub fn check_irq0(&mut self) -> bool {
let a = self.ch.0.check_irq0();
let b = self.ch.1.check_irq1();
let b = self.ch.1.check_irq0();
a | b
}

Expand Down

0 comments on commit 9b7acef

Please sign in to comment.