File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 161161# define CONFIG_BTDM_SCAN_DUPL_TYPE_DATA_DEVICE (2)
162162# endif
163163
164- # if !defined(CONFIG_BT_NIMBLE_LEGACY_VHCI_ENABLE ) && \
165- (defined(CONFIG_IDF_TARGET_ESP32 ) || defined(CONFIG_IDF_TARGET_ESP32C3 ) || defined(CONFIG_IDF_TARGET_ESP32S3 ))
166- # define CONFIG_BT_NIMBLE_LEGACY_VHCI_ENABLE (1)
167- # endif
168-
169164# if !defined(CONFIG_BT_CONTROLLER_DISABLED )
170165# define CONFIG_BT_CONTROLLER_DISABLED (0)
171166# endif
172167
168+ # undef CONFIG_BT_NIMBLE_LEGACY_VHCI_ENABLE
173169# if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S3
170+ # define CONFIG_BT_NIMBLE_LEGACY_VHCI_ENABLE (1)
174171# define NIMBLE_CFG_CONTROLLER 0
175172# else
173+ # define CONFIG_BT_NIMBLE_LEGACY_VHCI_ENABLE (0)
176174# define NIMBLE_CFG_CONTROLLER CONFIG_BT_CONTROLLER_ENABLED
177175# endif
178176
You can’t perform that action at this time.
0 commit comments