forked from espressif/arduino-esp32
Fix for BluetoothSerial build when using nimBLE instead of Bluedroid (#5920)
This commit is contained in:
@ -7,7 +7,7 @@
|
|||||||
* Author: Thomas M. (ArcticSnowSky)
|
* Author: Thomas M. (ArcticSnowSky)
|
||||||
*/
|
*/
|
||||||
#include "sdkconfig.h"
|
#include "sdkconfig.h"
|
||||||
#if defined(CONFIG_BT_ENABLED)
|
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
|
||||||
|
|
||||||
#include "BTAddress.h"
|
#include "BTAddress.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#ifndef COMPONENTS_CPP_UTILS_BTADDRESS_H_
|
#ifndef COMPONENTS_CPP_UTILS_BTADDRESS_H_
|
||||||
#define COMPONENTS_CPP_UTILS_BTADDRESS_H_
|
#define COMPONENTS_CPP_UTILS_BTADDRESS_H_
|
||||||
#include "sdkconfig.h"
|
#include "sdkconfig.h"
|
||||||
#if defined(CONFIG_BT_ENABLED)
|
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
|
||||||
#include <esp_gap_bt_api.h> // ESP32 BT
|
#include <esp_gap_bt_api.h> // ESP32 BT
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "sdkconfig.h"
|
#include "sdkconfig.h"
|
||||||
#if defined(CONFIG_BT_ENABLED)
|
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
|
||||||
|
|
||||||
//#include <map>
|
//#include <map>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "sdkconfig.h"
|
#include "sdkconfig.h"
|
||||||
#if defined(CONFIG_BT_ENABLED)
|
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
|
||||||
|
|
||||||
|
|
||||||
#include <esp_err.h>
|
#include <esp_err.h>
|
||||||
|
Reference in New Issue
Block a user