Fixed setting macro values based on selected configuration

This commit is contained in:
Rahul Tank
2024-02-20 11:18:11 +05:30
committed by Abhinav Kudnar
parent 768dbeb83c
commit 14c98cc095
+1 -1
View File
@@ -124,7 +124,7 @@ struct ble_gap_connect_reattempt_ctxt {
};
static struct ble_gap_connect_reattempt_ctxt ble_conn_reattempt[MYNEWT_VAL(BLE_MAX_CONNECTIONS)];
#if !MYNEWT_VAL(BLE_EXT_ADV)
#if !MYNEWT_VAL(BLE_EXT_ADV) && MYNEWT_VAL(BLE_ROLE_CENTRAL)
static uint16_t reattempt_idx;
#endif
static bool conn_cookie_enabled;