mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-13 15:37:03 +00:00
Do not show serial break
This commit is contained in:
parent
103fe5c457
commit
53afd37d08
@ -821,7 +821,8 @@ void rxerr(int err) {
|
||||
debugW_P(PSTR("Serial parity error"));
|
||||
break;
|
||||
}
|
||||
meterState.setLastError(90+err);
|
||||
// Do not include serial break
|
||||
if(err > 1) meterState.setLastError(90+err);
|
||||
}
|
||||
|
||||
void setupHanPort(GpioConfig& gpioConfig, uint32_t baud, uint8_t parityOrdinal, bool invert) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user