respond to 'Q follow-up #3383

This commit is contained in:
rusefillc 2021-10-20 20:50:50 -04:00
parent f60508dbeb
commit 570e2b2a87
1 changed files with 1 additions and 1 deletions

View File

@ -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);