Skip to content

Commit

Permalink
Fix the color codes for pigweed logs
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamdp committed May 8, 2023
1 parent 8cd120b commit fc2105d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/platform/esp32/PigweedLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ static const char * getLogColorForLevel(esp_log_level_t level)
return LOG_COLOR_E "E";

case ESP_LOG_INFO:
return LOG_COLOR_E "I";
return LOG_COLOR_I "I";

default:
// default is kept as ESP_LOG_DEBUG
return LOG_COLOR_E "D";
return LOG_COLOR_D "D";
}
}

Expand Down

0 comments on commit fc2105d

Please sign in to comment.