occasional tunerstudio CRC errors #1943

second step back
This commit is contained in:
rusefi 2020-11-15 22:41:04 -05:00
parent c561fae005
commit 7cba09b3fa
1 changed files with 1 additions and 2 deletions

View File

@ -678,14 +678,13 @@ static void handleGetText(ts_channel_s *tsChannel) {
}
static void handleExecuteCommand(ts_channel_s *tsChannel, char *data, int incomingPacketSize) {
sr5WriteCrcPacket(tsChannel, TS_RESPONSE_COMMAND_OK, nullptr, 0);
data[incomingPacketSize] = 0;
char *trimmed = efiTrim(data);
#if EFI_SIMULATOR
logMsg("execute [%s]\r\n", trimmed);
#endif
(console_line_callback)(trimmed);
sr5WriteCrcPacket(tsChannel, TS_RESPONSE_COMMAND_OK, nullptr, 0);
}
/**