forked from espressif/arduino-esp32
Add guards to not compile BT code if not enabled
This commit is contained in:
@ -15,6 +15,7 @@
|
||||
#ifndef _SIMPLE_BLE_H_
|
||||
#define _SIMPLE_BLE_H_
|
||||
|
||||
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
@ -58,3 +59,5 @@ class SimpleBLE {
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user