From 1b4fb15c152a3a1cba497cd1cbc002df48ad0c8f Mon Sep 17 00:00:00 2001 From: tatsutaigu <44219065+tatsutaigu@users.noreply.github.com> Date: Fri, 14 Dec 2018 12:37:32 +0900 Subject: Update BLEDevice.cpp fix 'btStart' was not declared in this scope --- src/BLEDevice.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/BLEDevice.cpp b/src/BLEDevice.cpp index 1f39caf..cb2db41 100644 --- a/src/BLEDevice.cpp +++ b/src/BLEDevice.cpp @@ -27,9 +27,13 @@ #include "BLEClient.h" #include "BLEUtils.h" #include "GeneralUtils.h" -#if defined(ARDUINO_ARCH_ESP32) && defined(CONFIG_ARDUHAL_ESP_LOG) -#include "esp32-hal-log.h" + +#if defined(ARDUINO_ARCH_ESP32) #include "esp32-hal-bt.h" +#endif + +#if defined(CONFIG_ARDUHAL_ESP_LOG) +#include "esp32-hal-log.h" #define LOG_TAG "" #else #include "esp_log.h" -- cgit v1.2.3