diff --git a/cube/User/Src/mbusComm.c b/cube/User/Src/mbusComm.c index 68bbe74..ad88d1f 100644 --- a/cube/User/Src/mbusComm.c +++ b/cube/User/Src/mbusComm.c @@ -289,8 +289,7 @@ void mbusCommISR() { } mbusCommStats.uartOctetCnt += 1; // it is required to read the DR in any case here, not only when the buffer has space - // otherwise the interrupt flag won't be disabled, particularly important in case of - // ORE + // otherwise the interrupt flag won't be reset, particularly important in case of ORE uint8_t data = (uint8_t)(mbusUart.Instance->DR & (uint8_t)0x00FF); if ((! errorFound) && (mbusCommHandle.receiveBuffer.writeIdx < mbusCommHandle.receiveBuffer.size)) {