Skip to content

Commit

Permalink
count transmit cancel for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas committed Mar 17, 2022
1 parent 951a80f commit 1786569
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/nmea2000esp32/NMEA2000_esp32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1786569

Please sign in to comment.