mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-09 03:27:57 +00:00
nimble/host: Fix build for extended scan
This eliminates "declared but not used" warnings.
This commit is contained in:
committed by
m-gorecki
parent
7af0b740ab
commit
dd1d28b07a
@@ -202,9 +202,11 @@ struct ble_gap_slave_state {
|
||||
|
||||
static bssnz_t struct ble_gap_slave_state ble_gap_slave[BLE_ADV_INSTANCES];
|
||||
|
||||
#if NIMBLE_BLE_ADVERTISE
|
||||
#if MYNEWT_VAL(BLE_EXT_ADV)
|
||||
static bool ext_adv_legacy_configured = false;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
struct ble_gap_update_entry {
|
||||
SLIST_ENTRY(ble_gap_update_entry) next;
|
||||
@@ -2914,6 +2916,7 @@ done:
|
||||
#endif
|
||||
}
|
||||
|
||||
#if NIMBLE_BLE_ADVERTISE
|
||||
#if MYNEWT_VAL(BLE_EXT_ADV)
|
||||
static int
|
||||
ble_gap_ext_adv_legacy_preconfigure(void)
|
||||
@@ -2945,6 +2948,7 @@ ble_gap_ext_adv_legacy_preconfigure(void)
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
int
|
||||
ble_gap_adv_set_data(const uint8_t *data, int data_len)
|
||||
|
||||
Reference in New Issue
Block a user