10000 Fix a compilation error if Bluetooth not enabled (#2172) · rdowning-triax/arduino-esp32@70f000d · GitHub
[go: up one dir, main page]

Skip to content

Commit 70f000d

Browse files
ahornerrme-no-dev
authored andcommitted
Fix a compilation error if Bluetooth not enabled (espressif#2172)
1 parent 884e417 commit 70f000d

File tree

< C0C8 h2 class="mx-2 f4 prc-Heading-Heading-6CmGO">1 file changed
+2
-0
lines changed

1 file changed

+2
-0
lines changed

cores/esp32/esp32-hal-misc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
#include "esp_partition.h"
2222
#include "esp_log.h"
2323
#include "esp_timer.h"
24+
#ifdef CONFIG_BT_ENABLED
2425
#include "esp_bt.h"
26+
#endif //CONFIG_BT_ENABLED
2527
#include <sys/time.h>
2628
#include "esp32-hal.h"
2729

0 commit comments

Comments
 (0)
0