diff --git a/CommObd2Can.cpp b/CommObd2Can.cpp index 5bdbab8..dd11fff 100644 --- a/CommObd2Can.cpp +++ b/CommObd2Can.cpp @@ -77,7 +77,8 @@ void CommObd2Can::mainLoop() { delay(10); } } - if (lastDataSent != 0 && liveData->params.currentTime + 1 > lastDataSent) { + Serial.println(liveData->params.currentTime ); + if (lastDataSent != 0 && liveData->params.currentTime + 2 > lastDataSent) { Serial.print("CAN execution timeout. Continue with next command."); liveData->canSendNextAtCommand = true; return;