respond to 'Q follow-up #3383
This commit is contained in:
parent
3fba84f6cb
commit
8b0299dead
|
@ -660,7 +660,7 @@ bool handlePlainCommand(TsChannelBase* tsChannel, uint8_t command) {
|
||||||
// Bail fast if guaranteed not to be a plain command
|
// Bail fast if guaranteed not to be a plain command
|
||||||
if (command == 0) {
|
if (command == 0) {
|
||||||
return false;
|
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)
|
// We interpret 'Q' as TS_HELLO_COMMAND, since TS uses hardcoded 'Q' during ECU detection (scan all serial ports)
|
||||||
efiPrintf("Got naked Query command");
|
efiPrintf("Got naked Query command");
|
||||||
handleQueryCommand(tsChannel, TS_PLAIN);
|
handleQueryCommand(tsChannel, TS_PLAIN);
|
||||||
|
|
Loading…
Reference in New Issue