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

This commit is contained in:
George Talusan 2018-04-06 12:06:53 -04:00 committed by Me No Dev
parent 7998e2321d
commit 149190fe11

View File

@ -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