File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
385385class 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
You can’t perform that action at this time.
0 commit comments