mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-06 21:40:04 +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
|
#if !CONFIG_BT_CONTROLLER_ONLY
|
||||||
#error "Different Bluetooth Host stack selected - please set CONFIG_BT_CONTROLLER_ONLY via menuconfig -> Component Config -> Bluetooth -> Host -> Disabled"
|
#error "Different Bluetooth Host stack selected - please set CONFIG_BT_CONTROLLER_ONLY via menuconfig -> Component Config -> Bluetooth -> Host -> Disabled"
|
||||||
#endif
|
#endif
|
||||||
if ESP_IDF_VERSION_MAJOR >= 5
|
#if ESP_IDF_VERSION_MAJOR >= 5
|
||||||
#if !CONFIG_BT_CONTROLLER_ENABLED
|
#if !CONFIG_BT_CONTROLLER_ENABLED
|
||||||
#error "Different Bluetooth Host stack selected - please set CONFIG_BT_CONTROLLER_ENABLED via menuconfig -> Component Config -> Bluetooth -> Controller -> Enabled"
|
#error "Different Bluetooth Host stack selected - please set CONFIG_BT_CONTROLLER_ENABLED via menuconfig -> Component Config -> Bluetooth -> Controller -> Enabled"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern int btstack_main(int argc, const char * argv[]);
|
extern int btstack_main(int argc, const char * argv[]);
|
||||||
|
|
||||||
int app_main(void){
|
int app_main(void){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user