empty cmd

This commit is contained in:
Lubos Petrovic
2020-12-20 23:36:28 +01:00
parent 2379e1028d
commit 870d0f5adf

View File

@@ -76,7 +76,7 @@ void CommObd2Can::executeCommand(String cmd) {
Serial.print("executeCommand "); Serial.print("executeCommand ");
Serial.println(cmd); Serial.println(cmd);
if (cmd.startsWith("AT")) { // skip AT commands as not used by direct CAN connection if (cmd == "" || cmd.startsWith("AT")) { // skip AT commands as not used by direct CAN connection
liveData->canSendNextAtCommand = true; liveData->canSendNextAtCommand = true;
return; return;
} }