do not consider noise error
This commit is contained in:
parent
f5f8aa0660
commit
397c3d2a56
@ -284,7 +284,8 @@ void mbusCommISR() {
|
||||
}
|
||||
if ((isrflags & USART_SR_NE) != RESET) {
|
||||
mbusCommStats.uartNoiseErrCnt += 1;
|
||||
errorFound = true;
|
||||
// do not consider noise as an error
|
||||
// errorFound = true;
|
||||
}
|
||||
mbusCommStats.uartOctetCnt += 1;
|
||||
// it is required to read the DR in any case here, not only when the buffer has space
|
||||
|
Loading…
x
Reference in New Issue
Block a user