We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f012c2a + 1f8408e commit aff6e32Copy full SHA for aff6e32
ports/espressif/common-hal/_bleio/Adapter.c
@@ -733,7 +733,7 @@ void common_hal_bleio_adapter_stop_advertising(bleio_adapter_obj_t *self) {
733
}
734
735
bool common_hal_bleio_adapter_get_advertising(bleio_adapter_obj_t *self) {
736
- return ble_gap_adv_active();
+ return common_hal_bleio_adapter_get_enabled(self) && ble_gap_adv_active();
737
738
739
bool common_hal_bleio_adapter_get_connected(bleio_adapter_obj_t *self) {
0 commit comments