Skip to content

Commit 5b8ac71

Browse files
fix(ble): fixed common kconfig error when controller enable only
1 parent 0461e2f commit 5b8ac71

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

components/bt/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ menu "Bluetooth"
8181
So this option will disable the PMP (ESP_SYSTEM_PMP_IDRAM_SPLIT)
8282

8383
menu "Common Options"
84-
visible if (BT_BLUEDROID_ENABLED || BT_NIMBLE_ENABLED)
85-
8684
source "$IDF_PATH/components/bt/common/Kconfig.in"
8785
endmenu
8886

components/bt/common/Kconfig.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
config BT_ALARM_MAX_NUM
22
int "Maximum number of Bluetooth alarms"
33
default 50
4+
depends on (BT_BLUEDROID_ENABLED || BT_NIMBLE_ENABLED)
45
help
56
This option decides the maximum number of alarms which
67
could be used by Bluetooth host.

0 commit comments

Comments
 (0)