rusEFI console ISO-TP via PCAN #3667

better logging
This commit is contained in:
rusefillc 2021-12-07 15:15:06 -05:00
parent c0b37d78e4
commit 70e738cf5f
1 changed files with 2 additions and 2 deletions

View File

@ -448,8 +448,8 @@ static int tsProcessOne(TsChannelBase* tsChannel) {
uint16_t incomingPacketSize = firstByte << 8 | secondByte;
if (incomingPacketSize == 0 || incomingPacketSize > (sizeof(tsChannel->scratchBuffer) - CRC_WRAPPING_SIZE)) {
efiPrintf("TunerStudio: %s invalid size: %d", tsChannel->name, incomingPacketSize);
tunerStudioError(tsChannel, "ERROR: CRC header size");
efiPrintf("process_ts: channel=%s invalid size: %d", tsChannel->name, incomingPacketSize);
tunerStudioError(tsChannel, "process_ts: ERROR: CRC header size");
sendErrorCode(tsChannel, TS_RESPONSE_UNDERRUN);
return -1;
}