mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-02 05:17:23 +00:00
fix(nimble): Fix compilation issue for combination of Ext Adv and Reattempt conn flag
This commit is contained in:
@@ -1349,8 +1349,7 @@ ble_gap_update_next_exp(int32_t *out_ticks_from_now)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if (NIMBLE_BLE_SCAN && !MYNEWT_VAL(BLE_EXT_ADV)) || \
|
#if MYNEWT_VAL(BLE_ROLE_CENTRAL)
|
||||||
(MYNEWT_VAL(BLE_ROLE_CENTRAL) && MYNEWT_VAL(BLE_ENABLE_CONN_REATTEMPT))
|
|
||||||
static void
|
static void
|
||||||
ble_gap_master_set_timer(uint32_t ticks_from_now)
|
ble_gap_master_set_timer(uint32_t ticks_from_now)
|
||||||
{
|
{
|
||||||
@@ -6160,7 +6159,6 @@ done:
|
|||||||
#if MYNEWT_VAL(BLE_EXT_ADV)
|
#if MYNEWT_VAL(BLE_EXT_ADV)
|
||||||
#if MYNEWT_VAL(BLE_ROLE_CENTRAL)
|
#if MYNEWT_VAL(BLE_ROLE_CENTRAL)
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
ble_gap_ext_conn_create_tx(
|
ble_gap_ext_conn_create_tx(
|
||||||
uint8_t own_addr_type, const ble_addr_t *peer_addr, uint8_t phy_mask,
|
uint8_t own_addr_type, const ble_addr_t *peer_addr, uint8_t phy_mask,
|
||||||
|
|||||||
Reference in New Issue
Block a user