This commit is contained in:
Wolfgang Hottgenroth 2020-11-25 08:55:54 +01:00
parent a05598d89a
commit b15321d774
No known key found for this signature in database
GPG Key ID: 656C88C7C1734267

View File

@ -281,7 +281,7 @@ void mbusCommExec() {
uint8_t receivedOctet = 0;
if ((mbusCommHandle.startTime != 0) && ((mbusCommHandle.startTime + 2500) < HAL_GetTick())) {
coloredMsg(LOG_RED, false, "TIMEOUT!!");
coloredMsg(LOG_RED, false, "TIMEOUT!! %ld %ld", mbusCommHandle.startTime, HAL_GetTick());
mbusCommHandle.startTime = 0;
mbusCommHandle.state = MBCS_TIMEOUT;
} else if (mbusCommHandle.waitForOctet) {