Skip to content

Commit cacd687

Browse files
committed
style(BYJMotor): Code cleaning
1 parent 04d9ada commit cacd687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RpiMotorLib/RpiMotorLib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def print_status(enabled_pins):
148148
while steps_remaining > 0:
149149
for pin_list in step_sequence:
150150
for pin in gpiopins:
151-
if self.stop_motor == True:
151+
if self.stop_motor:
152152
raise StopMotorInterrupt
153153
else:
154154
if pin in pin_list:

0 commit comments

Comments
 (0)