aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-mcxa/src/dma.rs2
1 files changed, 1 insertions, 1 deletions
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 {
1924 1924
1925 for (mask, var) in TransferErrorRaw::MAP { 1925 for (mask, var) in TransferErrorRaw::MAP {
1926 // If the bit is set... 1926 // If the bit is set...
1927 if self.0 | mask != 0 { 1927 if self.0 & mask != 0 {
1928 // clear the bit 1928 // clear the bit
1929 self.0 &= !mask; 1929 self.0 &= !mask;
1930 // and return the answer 1930 // and return the answer