summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-07-21 22:10:37 -0400
committerPete Johanson <peter@peterjohanson.com>2020-07-21 22:10:37 -0400
commit5896c3032b4d8c7ed4962672b75360a54c5b0e1c (patch)
treea32f3ad3e210ffaa32a6cf14f30be4dc1e99ae5b
parent495f983de889b2afcde236ab6e05c595f83824b1 (diff)
Fixes for BLE host connections w/ split support.
-rw-r--r--app/src/ble.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/ble.c b/app/src/ble.c
index af3c25d..559b04f 100644
--- a/app/src/ble.c
+++ b/app/src/ble.c
@@ -130,12 +130,12 @@ static struct bt_conn_auth_cb zmk_ble_auth_cb_display = {
static const struct bt_data zmk_ble_ad[] = {
BT_DATA_BYTES(BT_DATA_FLAGS, (BT_LE_AD_GENERAL | BT_LE_AD_NO_BREDR)),
BT_DATA_BYTES(BT_DATA_UUID16_SOME,
-#if !IS_ENABLED(CONFIG_ZMK_SPLIT_BLE)
+#if !IS_ENABLED(CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL)
0x12, 0x18, /* HID Service */
#endif
0x0f, 0x18 /* Battery Service */
),
-#if IS_ENABLED(CONFIG_ZMK_SPLIT_BLE)
+#if IS_ENABLED(CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL)
BT_DATA_BYTES(BT_DATA_UUID128_ALL,
ZMK_SPLIT_BT_SERVICE_UUID)
#endif