diff --git a/cube/User/Src/mbusComm.c b/cube/User/Src/mbusComm.c index 9a8809b..ef8c1f7 100644 --- a/cube/User/Src/mbusComm.c +++ b/cube/User/Src/mbusComm.c @@ -498,12 +498,14 @@ void mbusCommExec() { case MBCS_ERROR: // coloredMsg(LOG_RED, false, "mbc hre [%d] state ERROR", mbusCommHandle.requestId); + coloredMsg(LOG_RED, true, "mbc hre [%d] error", mbusCommHandle.requestId); show(LED_RED, ON); mbusCommHandle.state = MBCS_ERROR_CONTINUED; // no break case MBCS_ERROR_CONTINUED: - // stay here until timeout occurs + // every error will be collected by a timeout to receive all data still on the wire + // to avoid leaking old data in responses for new requests break; case MBCS_TIMEOUT: