From 78cae4df9dbbc701ab5959151b7df077d1d1015d Mon Sep 17 00:00:00 2001 From: George Talusan Date: Sat, 17 Mar 2018 12:30:40 -0400 Subject: [PATCH] fix Arduino component build when CONFIG_ARDUHAL_ESP_LOG is turned off --- cores/esp32/esp32-hal-log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp32/esp32-hal-log.h b/cores/esp32/esp32-hal-log.h index 015cd67aa21..1b7ea77fce8 100644 --- a/cores/esp32/esp32-hal-log.h +++ b/cores/esp32/esp32-hal-log.h @@ -107,9 +107,9 @@ int log_printf(const char *fmt, ...); #define log_e(format, ...) #endif -#ifdef CONFIG_ARDUHAL_ESP_LOG #include "esp_log.h" +#ifdef CONFIG_ARDUHAL_ESP_LOG #undef ESP_LOGE #undef ESP_LOGW #undef ESP_LOGI