console: Fix and re-enable no-format warnings

This commit is contained in:
Zim Kalinowski
2023-03-06 14:10:32 +01:00
parent 8486a2c3ad
commit 2a8bbda6e4
2 changed files with 1 additions and 4 deletions

View File

@@ -355,7 +355,7 @@ static esp_err_t esp_console_setup_history(const char *history_path, uint32_t ma
/* Set command history size */
if (linenoiseHistorySetMaxLen(max_history_len) != 1) {
ESP_LOGE(TAG, "set max history length to %d failed", max_history_len);
ESP_LOGE(TAG, "set max history length to %"PRIu32" failed", max_history_len);
ret = ESP_FAIL;
goto _exit;
}