mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-29 02:07:15 +02:00
Add guards to not compile BT code if not enabled
This commit is contained in:
@ -14,7 +14,8 @@
|
||||
|
||||
#include "esp32-hal-bt.h"
|
||||
|
||||
#if CONFIG_BT_ENABLED
|
||||
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
|
||||
|
||||
|
||||
#include "bt.h"
|
||||
#include "esp_bt_defs.h"
|
||||
|
Reference in New Issue
Block a user