This commit is contained in:
Lubos Petrovic
2020-12-23 09:31:58 +01:00
parent 4c5ef4dbc6
commit 77f5b71257

View File

@@ -77,7 +77,7 @@ void CommObd2Can::mainLoop() {
delay(1);
// apply timeout for next frames loop too
if (lastDataSent != 0 && (unsigned long)(millis() - lastDataSent) > 100) {
Serial.print("CAN execution timeout (multiframe message).");
Serial.print("CAN execution timeout (multiframe message).\n");
break;
}
}
@@ -88,7 +88,7 @@ void CommObd2Can::mainLoop() {
}
}
if (lastDataSent != 0 && (unsigned long)(millis() - lastDataSent) > 100) {
Serial.print("CAN execution timeout. Continue with next command.");
Serial.print("CAN execution timeout. Continue with next command.\n");
liveData->canSendNextAtCommand = true;
return;
}