forgotten reset of processCount

This commit is contained in:
2019-07-10 12:16:18 +02:00
parent b1e0e700d3
commit fc0f7b0a1a

View File

@ -176,6 +176,7 @@ def checkRegisterList(registers):
raise ValueError('Entry in register list {0!s} is not derived from class AbstractModbusDatapoint'.format(r))
else:
r.errorCount = 0
r.processCount = 0
print("Datapoint loaded: {0!s}".format(r))