diff --git a/CommObd2Can.cpp b/CommObd2Can.cpp index fb77c23..78167c8 100644 --- a/CommObd2Can.cpp +++ b/CommObd2Can.cpp @@ -76,7 +76,7 @@ void CommObd2Can::executeCommand(String cmd) { Serial.print("executeCommand "); 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; return; }