fix error counting on checksum errors

This commit is contained in:
Stefan Allius
2024-03-31 01:18:01 +01:00
parent dccf0d22e1
commit 75bdaedc31

View File

@@ -169,7 +169,6 @@ class SolarmanV5(Message):
self.inc_counter('Invalid_Msg_Format')
logger.debug(f'CRC {int(crc):#02x} {int(check):#08x}'
f' Stop:{int(stop):#02x}')
self.inc_counter('Invalid_Msg_Format')
return False
return True