Skip to content

Commit 46f7284

Browse files
committed
Add ID for passive motor 45303
1 parent 930d71c commit 46f7284

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

buildhat/devices.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ class Device:
1010
"""Creates a single instance of the buildhat for all devices to use"""
1111
_instance = None
1212
_started = 0
13-
_device_names = { 2: "PassiveMotor",
13+
_device_names = { 1: "PassiveMotor",
14+
2: "PassiveMotor",
1415
8: "Light",
1516
34: "TiltSensor",
1617
35: "MotionSensor",

0 commit comments

Comments
 (0)