未验证 提交 8a8f87d3 编写于 作者: J Jakub Rybakowski 提交者: GitHub

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

上级 082491d5
...@@ -7,7 +7,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册