Use CONFIG_BT_BLUEDROID_ENABLED for enabling (#11214)

Co-authored-by: Sugar Glider <rodrigo.garcia@espressif.com>
This commit is contained in:
Jason2866 2025-04-09 10:26:13 +02:00 committed by GitHub
parent d3509ef98b
commit 8e8b1cbd31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@
#include "esp32-hal-bt.h" #include "esp32-hal-bt.h"
#if SOC_BT_SUPPORTED #if SOC_BT_SUPPORTED
#ifdef CONFIG_BT_ENABLED #ifdef CONFIG_BT_BLUEDROID_ENABLED
#if CONFIG_IDF_TARGET_ESP32 #if CONFIG_IDF_TARGET_ESP32
bool btInUse() { bool btInUse() {