mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-30 06:32:43 +00:00
esp32: check CONFIG_BT_CONTROLLER_ENABLED only on esp-idf v5.x
This commit is contained in:
parent
5e40310d59
commit
862392e5a3
@ -53,12 +53,12 @@
|
||||
#if !CONFIG_BT_CONTROLLER_ONLY
|
||||
#error "Different Bluetooth Host stack selected - please set CONFIG_BT_CONTROLLER_ONLY via menuconfig -> Component Config -> Bluetooth -> Host -> Disabled"
|
||||
#endif
|
||||
if ESP_IDF_VERSION_MAJOR >= 5
|
||||
#if ESP_IDF_VERSION_MAJOR >= 5
|
||||
#if !CONFIG_BT_CONTROLLER_ENABLED
|
||||
#error "Different Bluetooth Host stack selected - please set CONFIG_BT_CONTROLLER_ENABLED via menuconfig -> Component Config -> Bluetooth -> Controller -> Enabled"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
extern int btstack_main(int argc, const char * argv[]);
|
||||
|
||||
int app_main(void){
|
||||
|
Loading…
x
Reference in New Issue
Block a user