diff options
author | chegewara <imperiaonline4@gmail.com> | 2018-12-14 07:37:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-14 07:37:55 +0100 |
commit | b232e7f5f0e87f36afbc2f4e03a2c49c48dd47bc (patch) | |
tree | bd55b92cd35b8598513617c15d8f81e3470a9772 | |
parent | Update minor version for platformIO (diff) | |
parent | Update BLEDevice.cpp (diff) | |
download | thermostat-b232e7f5f0e87f36afbc2f4e03a2c49c48dd47bc.tar.gz thermostat-b232e7f5f0e87f36afbc2f4e03a2c49c48dd47bc.tar.bz2 thermostat-b232e7f5f0e87f36afbc2f4e03a2c49c48dd47bc.zip |
Merge pull request #23 from tatsutaigu/master
Update BLEDevice.cpp
-rw-r--r-- | src/BLEDevice.cpp | 8 |
1 files 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" |