From 149190fe119a526f32223db75c3591a4afab612c Mon Sep 17 00:00:00 2001 From: George Talusan Date: Fri, 6 Apr 2018 12:06:53 -0400 Subject: [PATCH] fix Arduino component build when CONFIG_ARDUHAL_ESP_LOG is turned off (#1228) --- 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 015cd67a..1b7ea77f 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