Fix for issue_3209. (#3210)

#include "esp32-hal-log.h" is mandatory is order to build BLEDevice.cpp.
It can't be left up to a compiler variable.
This commit is contained in:
William Ferguson 2019-10-01 23:32:47 +10:00 committed by Me No Dev
parent 270a2759d9
commit 8a46697168

View File

@ -32,14 +32,8 @@
#include "esp32-hal-bt.h" #include "esp32-hal-bt.h"
#endif #endif
#if defined(CONFIG_ARDUHAL_ESP_LOG)
#include "esp32-hal-log.h" #include "esp32-hal-log.h"
#else
#include "esp_log.h"
static const char* LOG_TAG = "BLEDevice";
#endif
/** /**
* Singletons for the BLEDevice. * Singletons for the BLEDevice.