mirror of https://github.com/rusefi/rusefi.git
RusEFI console keeps resetting on latest #4899
This commit is contained in:
parent
d63d8f869a
commit
654759d47a
|
@ -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;
|
break;
|
||||||
#endif /* EFI_TOOTH_LOGGER */
|
#endif /* EFI_TOOTH_LOGGER */
|
||||||
#if ENABLE_PERF_TRACE
|
#if ENABLE_PERF_TRACE
|
||||||
|
@ -833,7 +837,9 @@ int TunerStudio::handleCrcCommand(TsChannelBase* tsChannel, char *data, int inco
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
sendErrorCode(tsChannel, TS_RESPONSE_UNRECOGNIZED_COMMAND);
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue