From 570e2b2a87b2b86de4ebc724f3299ac264e37e66 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 20 Oct 2021 20:50:50 -0400 Subject: [PATCH] respond to 'Q follow-up #3383 --- firmware/console/binary/tunerstudio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index 68867ff845..a32e6a683e 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -660,7 +660,7 @@ bool handlePlainCommand(TsChannelBase* tsChannel, uint8_t command) { // Bail fast if guaranteed not to be a plain command if (command == 0) { return false; - } else if (command == TS_HELLO_COMMAND || command == 'Q') { + } else if (command == TS_HELLO_COMMAND || command == TS_QUERY_COMMAND) { // We interpret 'Q' as TS_HELLO_COMMAND, since TS uses hardcoded 'Q' during ECU detection (scan all serial ports) efiPrintf("Got naked Query command"); handleQueryCommand(tsChannel, TS_PLAIN);