Commit 149190fe authored by George Talusan's avatar George Talusan Committed by Me No Dev

fix Arduino component build when CONFIG_ARDUHAL_ESP_LOG is turned off (#1228)

parent 7998e232
...@@ -107,9 +107,9 @@ int log_printf(const char *fmt, ...); ...@@ -107,9 +107,9 @@ int log_printf(const char *fmt, ...);
#define log_e(format, ...) #define log_e(format, ...)
#endif #endif
#ifdef CONFIG_ARDUHAL_ESP_LOG
#include "esp_log.h" #include "esp_log.h"
#ifdef CONFIG_ARDUHAL_ESP_LOG
#undef ESP_LOGE #undef ESP_LOGE
#undef ESP_LOGW #undef ESP_LOGW
#undef ESP_LOGI #undef ESP_LOGI
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment