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