Skip to content

Commit 888558f

Browse files
authored
bricks/primehub: restore access to LPW3 and UART modules
Commit #1ccc277 introduced discrepancies between Essential and Prime hubs, add-back access to LPW3 and UART modules.
1 parent 162b97c commit 888558f

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

bricks/primehub/mpconfigport.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,13 @@
3232
#define PYBRICKS_PY_EXPERIMENTAL (1)
3333
#define PYBRICKS_PY_HUBS (1)
3434
#define PYBRICKS_PY_IODEVICES (1)
35-
#define PYBRICKS_PY_IODEVICES_PUP_DEVICE (1)
35+
#define PYBRICKS_PY_IODEVICES_ANALOG_SENSOR (0)
36+
#define PYBRICKS_PY_IODEVICES_DC_MOTOR (0)
37+
#define PYBRICKS_PY_IODEVICES_I2C_DEVICE (0)
38+
#define PYBRICKS_PY_IODEVICES_LUMP_DEVICE (0)
39+
#define PYBRICKS_PY_IODEVICES_LWP3_DEVICE (1)
40+
#define PYBRICKS_PY_IODEVICES_PUP_DEVICE (1)
41+
#define PYBRICKS_PY_IODEVICES_UART_DEVICE (1)
3642
#define PYBRICKS_PY_IODEVICES_XBOX_CONTROLLER (1)
3743
#define PYBRICKS_PY_MEDIA_IMAGE (0)
3844
#define PYBRICKS_PY_MESSAGING (1)

0 commit comments

Comments
 (0)