We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f634b6 commit 523addeCopy full SHA for 523adde
lib/pbio/drv/bluetooth/bluetooth_simulation.c
@@ -60,15 +60,9 @@ pbio_error_t pbdrv_bluetooth_send_pybricks_value_notification(pbio_os_state_t *s
60
return PBIO_SUCCESS;
61
}
62
63
- int ret = write(STDOUT_FILENO, data, size);
64
- // uint32_t ret = *size;
65
- // int r = write(STDOUT_FILENO, data, *size);
66
- // if (r >= 0) {
67
- // // in case of an error in the syscall, report no bytes written
68
- // ret = 0;
69
- // }
+ int ret = write(STDOUT_FILENO, data + 1, size - 1);
70
(void)ret;
71
- // return PBIO_SUCCESS;
+
72
PBIO_OS_ASYNC_END(PBIO_SUCCESS);
73
74
0 commit comments