improve modbus trace

This commit is contained in:
Stefan Allius
2024-05-06 23:18:47 +02:00
parent bf0f152d5a
commit f804b755a4
4 changed files with 10 additions and 8 deletions

View File

@@ -392,7 +392,7 @@ class Talent(Message):
elif self.ctrl.is_ind():
logger.debug(f'Modbus Ind MsgLen: {modbus_len}')
for key, update in self.mb.recv_resp(self.db, self._recv_buffer[
self.header_len + hdr_len:]):
self.header_len + hdr_len:], self.new_data):
if update:
self.new_data[key] = True