mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
fix(kconfig): use 'n' instead of '0'/'false' for bool defaults
Bool symbols in nimble, BTDM, and two examples used invalid default literals. The parser already falls back to 'n'; set that explicitly. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -177,7 +177,7 @@ config BTDM_CTRL_LEGACY_AUTH_VENDOR_EVT
|
||||
config BTDM_CTRL_LEGACY_AUTH_VENDOR_EVT_EFF
|
||||
bool
|
||||
default BTDM_CTRL_LEGACY_AUTH_VENDOR_EVT if BTDM_CTRL_MODE_BR_EDR_ONLY || BTDM_CTRL_MODE_BTDM
|
||||
default 0
|
||||
default n
|
||||
|
||||
|
||||
config BTDM_CTRL_BLE_MAX_CONN_EFF
|
||||
|
||||
@@ -1452,7 +1452,7 @@ menu "NimBLE Mesh"
|
||||
|
||||
config BT_NIMBLE_MESH_PROVISIONER
|
||||
bool "Enable BLE mesh provisioner"
|
||||
default 0
|
||||
default n
|
||||
depends on BT_NIMBLE_MESH
|
||||
help
|
||||
Enable mesh provisioner.
|
||||
|
||||
@@ -6,7 +6,7 @@ menu "TWAI Configuration"
|
||||
config EXAMPLE_ENABLE_TWAI_FD
|
||||
bool "Enable TWAI-FD Support"
|
||||
depends on SOC_TWAI_FD_SUPPORTED
|
||||
default false
|
||||
default n
|
||||
help
|
||||
Enable TWAI-FD (Flexible Data-rate) support.
|
||||
Allows up to 64 bytes of data per frame and dual bit rates.
|
||||
|
||||
@@ -9,7 +9,7 @@ menu "Example Configuration"
|
||||
|
||||
config EXAMPLE_USE_SCAN_CHANNEL_BITMAP
|
||||
bool "Scan only non overlapping channels using Channel bitmap"
|
||||
default 0
|
||||
default n
|
||||
help
|
||||
Enable this to scan only the non overlapping channels i.e 1,6,11 by mentioning a channel bitmap
|
||||
in scan config. If you wish to scan a different set of specific channels, please edit the channel_list
|
||||
|
||||
Reference in New Issue
Block a user