From 17865698f224d3885336fd4713c3bed7107b807e Mon Sep 17 00:00:00 2001 From: andreas Date: Thu, 17 Mar 2022 19:34:39 +0100 Subject: [PATCH] count transmit cancel for debug --- lib/nmea2000esp32/NMEA2000_esp32.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/nmea2000esp32/NMEA2000_esp32.cpp b/lib/nmea2000esp32/NMEA2000_esp32.cpp index e3e57805..24377f91 100644 --- a/lib/nmea2000esp32/NMEA2000_esp32.cpp +++ b/lib/nmea2000esp32/NMEA2000_esp32.cpp @@ -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;