1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-28 07:51:19 +01:00

Merge pull request #13142 from gschorcht/cpu/esp32/fix_compilation_esp_gdb

cpu/esp32: fix compilation when esp_gdb is enabled
This commit is contained in:
benpicco 2020-01-17 13:07:48 +01:00 committed by GitHub
commit 24559ed3ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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