mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-28 16:11:24 +00:00
esp32: check CONFIG_BT_CONTROLLER_ENABLED only on esp-idf v5.x
This commit is contained in:
parent
d42b36aac8
commit
5e40310d59
@ -53,10 +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 !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
|
||||||
|
|
||||||
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