1
0
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:
andreas
2022-03-17 19:34:39 +01:00
parent 951a80f2bb
commit 17865698f2

View File

@@ -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;