empty cmd
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user