fix error counting on checksum errors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user