From 743295b1e9836016827c635877ecd8870b2620c3 Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Thu, 18 Dec 2025 10:14:36 -0800 Subject: [MCXA] dma: fix typo Should be an and, not or. --- embassy-mcxa/src/dma.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-mcxa/src/dma.rs b/embassy-mcxa/src/dma.rs index 8d519d99b..b68f55e65 100644 --- a/embassy-mcxa/src/dma.rs +++ b/embassy-mcxa/src/dma.rs @@ -1924,7 +1924,7 @@ impl Iterator for TransferErrorRawIter { for (mask, var) in TransferErrorRaw::MAP { // If the bit is set... - if self.0 | mask != 0 { + if self.0 & mask != 0 { // clear the bit self.0 &= !mask; // and return the answer -- cgit