From 9fb7540ece667ef973759a5e1c4f9d22aed4c38b Mon Sep 17 00:00:00 2001 From: rusefillc Date: Tue, 17 Nov 2020 15:24:00 -0500 Subject: [PATCH] sporadic crc error #1943 un-removing, one step forward --- firmware/console/binary/tunerstudio.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index d0765be104..d027ddb5c5 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -678,13 +678,14 @@ 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); } /**