RusEFI console keeps resetting on latest #4899

This commit is contained in:
rusefillc 2022-12-17 16:13:44 -05:00
parent d63d8f869a
commit 654759d47a
1 changed files with 7 additions and 1 deletions

View File

@ -805,6 +805,10 @@ int TunerStudio::handleCrcCommand(TsChannelBase* tsChannel, char *data, int inco
}
}
break;
#else // EFI_TOOTH_LOGGER
case TS_GET_COMPOSITE_BUFFER_DONE_DIFFERENTLY:
sendErrorCode(tsChannel, TS_RESPONSE_OUT_OF_RANGE);
break;
#endif /* EFI_TOOTH_LOGGER */
#if ENABLE_PERF_TRACE
@ -833,7 +837,9 @@ int TunerStudio::handleCrcCommand(TsChannelBase* tsChannel, char *data, int inco
}
default:
sendErrorCode(tsChannel, TS_RESPONSE_UNRECOGNIZED_COMMAND);
tunerStudioError(tsChannel, "ERROR: ignoring unexpected command");
static char tsErrorBuff[80];
chsnprintf(tsErrorBuff, sizeof(tsErrorBuff), "ERROR: ignoring unexpected command %d [%c]", command, command);
tunerStudioError(tsChannel, tsErrorBuff);
return false;
}