From 81bc4d0e87e2fe40c3d4bca53d77266b66fcb14b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Narajowski?= Date: Mon, 11 Feb 2019 16:10:33 +0100 Subject: [PATCH] apps/bttester: Fix setting friend and gatt proxy options --- apps/bttester/src/mesh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/bttester/src/mesh.c b/apps/bttester/src/mesh.c index ad428ade9..d3186b09c 100644 --- a/apps/bttester/src/mesh.c +++ b/apps/bttester/src/mesh.c @@ -105,12 +105,12 @@ static void supported_commands(u8_t *data, u16_t len) static struct bt_mesh_cfg_srv cfg_srv = { .relay = BT_MESH_RELAY_ENABLED, .beacon = BT_MESH_BEACON_ENABLED, -#if defined(CONFIG_BT_MESH_FRIEND) +#if MYNEWT_VAL(BLE_MESH_FRIEND) .frnd = BT_MESH_FRIEND_DISABLED, #else .frnd = BT_MESH_FRIEND_NOT_SUPPORTED, #endif -#if defined(CONFIG_BT_MESH_GATT_PROXY) +#if MYNEWT_VAL(BLE_MESH_GATT_PROXY) .gatt_proxy = BT_MESH_GATT_PROXY_ENABLED, #else .gatt_proxy = BT_MESH_GATT_PROXY_NOT_SUPPORTED,