This commit is contained in:
Lubos Petrovic
2020-12-21 11:33:17 +01:00
parent b9fa902136
commit 0bd5fd0f74

View File

@@ -77,7 +77,8 @@ void CommObd2Can::mainLoop() {
delay(10); 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."); Serial.print("CAN execution timeout. Continue with next command.");
liveData->canSendNextAtCommand = true; liveData->canSendNextAtCommand = true;
return; return;