diff --git a/cube/User/Src/mbusComm.c b/cube/User/Src/mbusComm.c index 42eace1..009f44c 100644 --- a/cube/User/Src/mbusComm.c +++ b/cube/User/Src/mbusComm.c @@ -289,8 +289,7 @@ void mbusCommISR() { } if ((isrflags & USART_SR_NE) != RESET) { mbusCommStats.uartNoiseErrCnt += 1; - // do not consider noise as an error for the moment - // errorFound = true; + errorFound = true; } mbusCommStats.uartOctetCnt += 1; // it is required to read the DR in any case here, not only when the buffer has space