mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-13 05:53:06 +01:00
count transmit cancel for debug
This commit is contained in:
@@ -373,7 +373,6 @@ void tNMEA2000_esp32::InterruptHandler() {
|
||||
recoveryStarted=0;
|
||||
}
|
||||
if (errCountTxInternal >= 2 *CAN_MAX_TX_RETRY){
|
||||
errCancelTransmit++;
|
||||
MODULE_CAN->CMR.B.AT=1; // abort transmission
|
||||
(void)MODULE_CAN->SR.U;
|
||||
errCountTxInternal=0;
|
||||
|
||||
Reference in New Issue
Block a user