Fix for BluetoothSerial build when using nimBLE instead of Bluedroid (#5920)

This commit is contained in:
Jakub Rybakowski
2021-12-14 14:56:25 +01:00
committed by GitHub
parent 082491d552
commit 8a8f87d3a0
4 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>