We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
is_pending
1 parent ebf0a15 commit 096121aCopy full SHA for 096121a
src/exti.rs
@@ -169,7 +169,7 @@ impl ExtiExt for EXTI {
169
SignalEdge::Rising => self.rpr1.read().bits() & mask != 0,
170
SignalEdge::Falling => self.fpr1.read().bits() & mask != 0,
171
SignalEdge::All => {
172
- (self.rpr1.read().bits() & mask != 0) && (self.fpr1.read().bits() & mask != 0)
+ (self.rpr1.read().bits() & mask != 0) || (self.fpr1.read().bits() & mask != 0)
173
}
174
175
0 commit comments