Skip to content

Commit

Permalink
Update commands.py
Browse files Browse the repository at this point in the history
Corrected SIDE_VACUUM constant
  • Loading branch information
danimaciasperea authored Jul 4, 2018
1 parent e6a8b9d commit 0b9c516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion irobot/openinterface/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def set_motors(main_brush_on, main_brush_reverse, side_brush, side_brush_reverse
if side_brush_reverse:
motors |= MOTORS.SIDE_BRUSH_DIRECTION
if vacuum:
motors |= MOTORS.SIDE_VACUUM
motors |= MOTORS.VACUUM

return pack_signed_byte(138, motors)

Expand Down

0 comments on commit 0b9c516

Please sign in to comment.