Skip to content

Commit e702c64

Browse files
committed
pybricks.iodevices.LWP3Device: Fix unintentional multi-line expression.
1 parent 8c2eaee commit e702c64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pybricks/iodevices/pb_type_iodevices_lwp3device.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,9 @@ static pbio_error_t pb_lwp3device_connect_thread(pbio_os_state_t *state, mp_obj_
333333
};
334334

335335
// set mode for left buttons
336-
msg.port = REMOTE_PORT_LEFT_BUTTONS,
337-
msg.mode = REMOTE_BUTTONS_MODE_KEYSD,
338-
msg.enable_notifications = 1,
336+
msg.port = REMOTE_PORT_LEFT_BUTTONS;
337+
msg.mode = REMOTE_BUTTONS_MODE_KEYSD;
338+
msg.enable_notifications = 1;
339339

340340
err = pbdrv_bluetooth_peripheral_write_characteristic(pb_lwp3device_char.handle, (const uint8_t *)&msg, sizeof(msg));
341341
if (err != PBIO_SUCCESS) {

0 commit comments

Comments
 (0)