mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-04-20 01:43:01 +00:00
Do not show serial break
This commit is contained in:
@@ -821,7 +821,8 @@ void rxerr(int err) {
|
|||||||
debugW_P(PSTR("Serial parity error"));
|
debugW_P(PSTR("Serial parity error"));
|
||||||
break;
|
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) {
|
void setupHanPort(GpioConfig& gpioConfig, uint32_t baud, uint8_t parityOrdinal, bool invert) {
|
||||||
|
|||||||
Reference in New Issue
Block a user