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 4002d26 commit e1850c1Copy full SHA for e1850c1
1 file changed
lib/pbio/drv/bluetooth/bluetooth_btstack.c
@@ -1256,7 +1256,7 @@ static pbio_error_t bluetooth_btstack_handle_power_control(pbio_os_state_t *stat
1256
1257
pbio_error_t pbdrv_bluetooth_controller_reset(pbio_os_state_t *state, pbio_os_timer_t *timer) {
1258
1259
- if (pbdrv_bluetooth_hci_is_enabled()) {
+ if (!pbdrv_bluetooth_hci_is_enabled()) {
1260
return PBIO_ERROR_INVALID_OP;
1261
}
1262
0 commit comments