Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 610d951

Browse files
include "esp_bt.h" only when existing (espressif#11438)
1 parent 1bac8de commit 610d951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎cores/esp32/esp32-hal-misc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include "esp_ota_ops.h"
2626
#endif //CONFIG_APP_ROLLBACK_ENABLE
2727
#include "esp_private/startup_internal.h"
28-
#if defined(CONFIG_BT_BLUEDROID_ENABLED) && SOC_BT_SUPPORTED
28+
#if defined(CONFIG_BT_BLUEDROID_ENABLED) && SOC_BT_SUPPORTED&&__has_include("esp_bt.h")
2929
#include "esp_bt.h"
3030
#endif //CONFIG_BT_BLUEDROID_ENABLED
3131
#include <sys/time.h>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /