Skip to content

Commit 149190f

Browse files
gtalusanme-no-dev
authored andcommitted
fix Arduino component build when CONFIG_ARDUHAL_ESP_LOG is turned off (#1228)
1 parent 7998e23 commit 149190f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-log.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ int log_printf(const char *fmt, ...);
107107
#define log_e(format, ...)
108108
#endif
109109

110-
#ifdef CONFIG_ARDUHAL_ESP_LOG
111110
#include "esp_log.h"
112111

112+
#ifdef CONFIG_ARDUHAL_ESP_LOG
113113
#undef ESP_LOGE
114114
#undef ESP_LOGW
115115
#undef ESP_LOGI

0 commit comments

Comments
 (0)