Skip to content

Commit 7e14dfd

Browse files
v-garWasabiFan
authored andcommitted
motors.py: added missing parameter 'motors' to MotorSet.is_stalled (ev3dev#573)
1 parent f8f4b86 commit 7e14dfd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ev3dev2/motor.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@ def is_overloaded(self, motors=None):
17371737
return self._is_state(motors, LargeMotor.STATE_OVERLOADED)
17381738

17391739
@property
1740-
def is_stalled(self):
1740+
def is_stalled(self, motors=None):
17411741
return self._is_state(motors, LargeMotor.STATE_STALLED)
17421742

17431743
def wait(self, cond, timeout=None, motors=None):

0 commit comments

Comments
 (0)