1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

cpu/esp32: fix compilation when esp_gdb is enabled

This commit is contained in:
Gunar Schorcht 2020-01-15 21:04:03 +01:00
parent 3672502f6f
commit 20835aecd9

View File

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