mirror of https://github.com/zmkfirmware/zmk.git
refactor(ble): Use correct BT opt for connectable.
Adjust for upstream Zephyr BT API changes for advertising options.
This commit is contained in:
parent
be37d3a7fb
commit
8f61f3349e
|
|
@ -56,8 +56,7 @@ enum advertising_type {
|
|||
#define CURR_ADV(adv) (adv << 4)
|
||||
|
||||
#define ZMK_ADV_CONN_NAME \
|
||||
BT_LE_ADV_PARAM(BT_LE_ADV_OPT_CONNECTABLE | BT_LE_ADV_OPT_ONE_TIME | BT_LE_ADV_OPT_USE_NAME | \
|
||||
BT_LE_ADV_OPT_FORCE_NAME_IN_AD, \
|
||||
BT_LE_ADV_PARAM(BT_LE_ADV_OPT_CONN | BT_LE_ADV_OPT_USE_NAME | BT_LE_ADV_OPT_FORCE_NAME_IN_AD, \
|
||||
BT_GAP_ADV_FAST_INT_MIN_2, BT_GAP_ADV_FAST_INT_MAX_2, NULL)
|
||||
|
||||
static struct zmk_ble_profile profiles[ZMK_BLE_PROFILE_COUNT];
|
||||
|
|
|
|||
Loading…
Reference in New Issue