Skip to content

Commit 43a1304

Browse files
ppryga-nordiccarlescufi
authored andcommitted
Bluetooth: controller: df: Config help corrction correction
Correct names of kconfig entries to mach to style of other entries. Style correction in hci.c. Use the same approach of checking if Kconfig entry is enabled. Signed-off-by: Piotr Pryga <[email protected]>
1 parent 48a60c5 commit 43a1304

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

subsys/bluetooth/controller/Kconfig.df

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ config BT_CTLR_DF_CTE_TX
3838
controller.
3939

4040
config BT_CTLR_DF_ANT_SWITCH_1US
41-
bool "Enable support for 1us antenna switching slots"
41+
bool "Enable support for 1us antenna switch slots"
4242
depends on BT_CTLR_DF_ANT_SWITCH_1US_SUPPORT
4343
default y
4444
help

subsys/bluetooth/controller/hci/hci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3504,7 +3504,7 @@ static int controller_cmd_handle(uint16_t ocf, struct net_buf *cmd,
35043504
le_read_tx_power(cmd, evt);
35053505
break;
35063506

3507-
#if defined(CONFIG_BT_CTLR_DF)
3507+
#if IS_ENABLED(CONFIG_BT_CTLR_DF)
35083508
#if IS_ENABLED(CONFIG_BT_CTLR_DF_ADV_CTE_TX)
35093509
case BT_OCF(BT_HCI_OP_LE_SET_CL_CTE_TX_PARAMS):
35103510
le_df_set_cl_cte_tx_params(cmd, evt);

0 commit comments

Comments
 (0)