Skip to content

Commit 9229594

Browse files
adigiejfischer-no
authored andcommitted
[nrf toup][nrffconnect] Replace deprecated BT macros
Replace deprecated BT macros. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
1 parent 017dac4 commit 9229594

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/platform/Zephyr/BLEManagerImpl.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ const bt_uuid_128 UUID128_CHIPoBLEChar_C3 =
8282

8383
bt_uuid_16 UUID16_CHIPoBLEService = BT_UUID_INIT_16(0xFFF6);
8484

85-
_bt_gatt_ccc CHIPoBLEChar_TX_CCC = BT_GATT_CCC_INITIALIZER(nullptr, BLEManagerImpl::HandleTXCCCWrite, nullptr);
85+
bt_gatt_ccc_managed_user_data CHIPoBLEChar_TX_CCC =
86+
BT_GATT_CCC_MANAGED_USER_DATA_INIT(nullptr, BLEManagerImpl::HandleTXCCCWrite, nullptr);
8687

8788
// clang-format off
8889

0 commit comments

Comments
 (0)