Skip to content

Commit 4f60670

Browse files
committed
samples: Remove usage of deprecated BT_CTLR Kconfig option
Use HAS_BT_CTLR which has replaced the deprecated BT_CTLR option. Signed-off-by: Johan Hedberg <[email protected]>
1 parent 120152d commit 4f60670

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

samples/bluetooth/bap_broadcast_sink/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ config SCAN_OFFLOAD
77
bool "Whether to wait for a Broadcast Assistant"
88
default y
99
# enable PAST support if we can
10-
select BT_PER_ADV_SYNC_TRANSFER_RECEIVER if !BT_CTLR || BT_CTLR_SYNC_TRANSFER_RECEIVER_SUPPORT
10+
select BT_PER_ADV_SYNC_TRANSFER_RECEIVER if (!HAS_BT_CTLR || \
11+
BT_CTLR_SYNC_TRANSFER_RECEIVER_SUPPORT)
1112
help
1213
If set to true, the sample will start advertising connectable for
1314
Broadcast Assistants.

samples/bluetooth/cap_acceptor/Kconfig

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ config SAMPLE_UNICAST
1313
select BT_PAC_SNK_LOC
1414
select BT_PAC_SRC
1515
select BT_PAC_SRC_LOC
16-
select BT_CTLR_PERIPHERAL_ISO if BT_CTLR
16+
select BT_CTLR_PERIPHERAL_ISO if HAS_BT_CTLR
1717
help
1818
If set to true, the sample will start advertising connectable for
1919
Broadcast Assistants.
@@ -27,8 +27,9 @@ config SAMPLE_BROADCAST
2727
select BT_BAP_BROADCAST_SINK
2828
select BT_PAC_SNK
2929
select BT_PAC_SNK_LOC
30-
select BT_PER_ADV_SYNC_TRANSFER_RECEIVER if !BT_CTLR || BT_CTLR_SYNC_TRANSFER_RECEIVER_SUPPORT
31-
select BT_CTLR_SYNC_ISO if BT_CTLR
30+
select BT_PER_ADV_SYNC_TRANSFER_RECEIVER if (!HAS_BT_CTLR || \
31+
BT_CTLR_SYNC_TRANSFER_RECEIVER_SUPPORT)
32+
select BT_CTLR_SYNC_ISO if HAS_BT_CTLR
3233
help
3334
If set to true, the sample will start advertising syncable audio streams
3435

samples/bluetooth/cap_initiator/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ config SAMPLE_UNICAST
1515
select BT_KEYS_OVERWRITE_OLDEST
1616
select BT_CSIP_SET_COORDINATOR
1717
select BT_BAP_UNICAST_CLIENT
18-
select BT_CTLR_CENTRAL_ISO if BT_CTLR
18+
select BT_CTLR_CENTRAL_ISO if HAS_BT_CTLR
1919
help
2020
If set to true, the sample will start advertising connectable for
2121
Broadcast Assistants.
@@ -26,7 +26,7 @@ config SAMPLE_BROADCAST
2626
select BT_BROADCASTER
2727
select BT_ISO_BROADCASTER
2828
select BT_BAP_BROADCAST_SOURCE
29-
select BT_CTLR_ADV_ISO if BT_CTLR
29+
select BT_CTLR_ADV_ISO if HAS_BT_CTLR
3030
help
3131
If set to true, the sample will start advertising syncable audio streams
3232

0 commit comments

Comments
 (0)