Skip to content

Commit acf0635

Browse files
authored
Merge branch 'dev' into 2.5.0
2 parents 1cf64a5 + d4f5f9e commit acf0635

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pymodbus/other_message.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def decode(self, data):
360360
pass
361361

362362
def execute(self, context=None):
363-
''' Run a read exeception status request against the store
363+
''' Run a report slave id request against the store
364364
365365
:returns: The populated response
366366
'''
@@ -379,7 +379,7 @@ def __str__(self):
379379
380380
:returns: The string representation of the request
381381
'''
382-
return "ResportSlaveIdRequest(%d)" % self.function_code
382+
return "ReportSlaveIdRequest(%d)" % self.function_code
383383

384384

385385
class ReportSlaveIdResponse(ModbusResponse):
@@ -435,7 +435,7 @@ def __str__(self):
435435
:returns: The string representation of the response
436436
'''
437437
arguments = (self.function_code, self.identifier, self.status)
438-
return "ResportSlaveIdResponse(%s, %s, %s)" % arguments
438+
return "ReportSlaveIdResponse(%s, %s, %s)" % arguments
439439

440440
#---------------------------------------------------------------------------#
441441
# TODO Make these only work on serial

0 commit comments

Comments
 (0)