count transmit cancel for debug

This commit is contained in:
andreas 2022-03-17 19:34:39 +01:00
parent 951a80f2bb
commit 17865698f2
1 changed files with 0 additions and 1 deletions

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;