Skip to content

Commit 180060a

Browse files
chintaldhoomakethu
authored andcommitted
Fixed byte count position for CommEventLogResponse (#291)
1 parent d1d6022 commit 180060a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymodbus/other_message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ class GetCommEventLogResponse(ModbusResponse):
278278
field defines the total length of the data in these four field
279279
'''
280280
function_code = 0x0c
281-
_rtu_byte_count_pos = 3
281+
_rtu_byte_count_pos = 2
282282

283283
def __init__(self, **kwargs):
284284
''' Initializes a new instance

0 commit comments

Comments
 (0)