We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a6edd0 + 6ba1768 commit 44aba4fCopy full SHA for 44aba4f
cores/esp32/esp32-hal-misc.c
@@ -308,7 +308,7 @@ void initArduino() {
308
if (err) {
309
log_e("Failed to initialize NVS! Error: %u", err);
310
}
311
-#if (defined(CONFIG_BLUEDROID_ENABLED) || defined(CONFIG_NIMBLE_ENABLED)) && SOC_BT_SUPPORTED
+#if (defined(CONFIG_BLUEDROID_ENABLED) || defined(CONFIG_NIMBLE_ENABLED)) && SOC_BT_SUPPORTED && __has_include("esp_bt.h")
312
if (!btInUse()) {
313
esp_bt_controller_mem_release(ESP_BT_MODE_BTDM);
314
0 commit comments