Skip to content

Commit 73a0d88

Browse files
committed
Fix unit tests
1 parent 31b948e commit 73a0d88

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

firmware/controllers/can/isotp/isotp.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,11 +477,13 @@ int IsoTpRx::readTimeout(uint8_t *rxbuf, size_t *size, sysinterval_t timeout)
477477
}
478478

479479
void IsoTpRx::resetRxVerbose() {
480+
#if EFI_PROD_CODE || SIMULATOR
480481
CANRxFrame rxmsg;
481482

482483
while (rxFifoBuf.get(rxmsg, 0)) {
483484
printCANRxFrame(busIndex, rxmsg);
484485
}
486+
#endif
485487

486488
waitingForNumBytes = 0;
487489
waitingForFrameIndex = 0;

0 commit comments

Comments
 (0)