Skip to content

Commit a5f64b8

Browse files
committed
Removed SMART_MOTOR_PORT. Added a TODO comment about adding port for MotionCore.
1 parent c2a4aab commit a5f64b8

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

external_samples/port.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ class PortType(Enum):
2929
USB_PORT = 4
3030

3131
# Ports on other devices.
32-
SMART_MOTOR_PORT = 5 # A motor port on MotionCore.
33-
USB_HUB_PORT = 6 # A port on a usb hub.
34-
EXPANSION_HUB_MOTOR_PORT = 7 # A motor port on an expansion hub.
35-
EXPANSION_HUB_SERVO_PORT = 8 # A servo port on an expansion hub.
32+
USB_HUB_PORT = 5 # A port on a usb hub.
33+
EXPANSION_HUB_MOTOR_PORT = 6 # A motor port on an Expansion Hub.
34+
EXPANSION_HUB_SERVO_PORT = 7 # A servo port on an Expansion Hub.
35+
# TODO: Add the ports for MotionCore.
3636

3737
# Compound ports
3838
USB_HUB = _BASE_COMPOUND + 1 # A compound port with USB_PORT and USB_HUB_PORT.

src/blocks/utils/generated/external_samples_data.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2577,7 +2577,6 @@
25772577
"EXPANSION_HUB_SERVO_PORT",
25782578
"I2C_PORT",
25792579
"SMART_IO_PORT",
2580-
"SMART_MOTOR_PORT",
25812580
"USB_HUB",
25822581
"USB_HUB_PORT",
25832582
"USB_PORT"

0 commit comments

Comments
 (0)