Skip to content

Commit 10d8b03

Browse files
committed
Fix utils/ imports
1 parent 5e33dff commit 10d8b03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

utils/move_motor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
where you can"t move the motor by hand.
66
"""
77

8-
from ev3dev.auto import OUTPUT_A, OUTPUT_B, OUTPUT_C, OUTPUT_D, Motor
8+
from ev3dev.motor import OUTPUT_A, OUTPUT_B, OUTPUT_C, OUTPUT_D, Motor
99
import argparse
1010
import logging
1111
import sys

utils/stop_all_motors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Stop all motors
55
"""
6-
from ev3dev.auto import list_motors
6+
from ev3dev.motor import list_motors
77

88
for motor in list_motors():
99
motor.stop(stop_action='brake')

0 commit comments

Comments
 (0)