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.
1 parent 7fbce26 commit 4414f5cCopy full SHA for 4414f5c
src/fdcan.rs
@@ -352,8 +352,8 @@ where
352
pub fn enable_interrupt_line(&mut self, line: InterruptLine, enabled: bool) {
353
let can = self.registers();
354
match line {
355
- InterruptLine::_0 => can.ile.modify(|_, w| w.eint0().bit(enabled)),
356
- InterruptLine::_1 => can.ile.modify(|_, w| w.eint1().bit(enabled)),
+ InterruptLine::_0 => can.ile.modify(|_, w| w.eint1().bit(enabled)),
+ InterruptLine::_1 => can.ile.modify(|_, w| w.eint0().bit(enabled)),
357
}
358
359
0 commit comments