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

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cores/esp32/esp32-hal-misc.c

+2
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)