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.
2 parents 13e17a5 + 08ef834 commit 5bba87eCopy full SHA for 5bba87e
embassy-stm32/src/can/fd/peripheral.rs
@@ -458,7 +458,7 @@ impl Registers {
458
/// [`FdCanConfig::set_transmit_pause`]
459
#[inline]
460
pub fn set_transmit_pause(&self, enabled: bool) {
461
- self.regs.cccr().modify(|w| w.set_txp(!enabled));
+ self.regs.cccr().modify(|w| w.set_txp(enabled));
462
}
463
464
/// Configures non-iso mode. See [`FdCanConfig::set_non_iso_mode`]
0 commit comments