From 20835aecd99c6de39c9dc95e3b2295e6a2943775 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Wed, 15 Jan 2020 21:04:03 +0100 Subject: [PATCH] cpu/esp32: fix compilation when esp_gdb is enabled --- cpu/esp32/vendor/esp-idf/esp_funcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/esp32/vendor/esp-idf/esp_funcs.c b/cpu/esp32/vendor/esp-idf/esp_funcs.c index 1bf2e22540..303bed26b3 100644 --- a/cpu/esp32/vendor/esp-idf/esp_funcs.c +++ b/cpu/esp32/vendor/esp-idf/esp_funcs.c @@ -108,7 +108,7 @@ void IRAM_ATTR esp_log_write(esp_log_level_t level, * We use the log level set for the given tag instead of using * the given log level. */ - esp_log_level_t act_level; + esp_log_level_t act_level = LOG_DEBUG; size_t i; for (i = 0; i < ARRAY_SIZE(_log_levels); i++) { if (strcmp(tag, _log_levels[i].tag) == 0) {