Skip to content

Commit

Permalink
Fixed byte count position for CommEventLogResponse (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
chintal authored and dhoomakethu committed Apr 25, 2018
1 parent d1d6022 commit 180060a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymodbus/other_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ class GetCommEventLogResponse(ModbusResponse):
field defines the total length of the data in these four field
'''
function_code = 0x0c
_rtu_byte_count_pos = 3
_rtu_byte_count_pos = 2

def __init__(self, **kwargs):
''' Initializes a new instance
Expand Down

0 comments on commit 180060a

Please sign in to comment.