From c395c2f0f3001c5fe359e95e714f9a337f253bb7 Mon Sep 17 00:00:00 2001 From: Euripedes Rocha Date: Tue, 8 Apr 2025 14:36:09 +0200 Subject: [PATCH] fix: Change error message to fix warning. This fixes an error on gen_esp_err_to_name.py. The message wasn't adding information to the user so removal of ESP_OK text is the simpler fix. --- lib/include/platform_esp32_idf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/include/platform_esp32_idf.h b/lib/include/platform_esp32_idf.h index 4569041..98f5fe1 100644 --- a/lib/include/platform_esp32_idf.h +++ b/lib/include/platform_esp32_idf.h @@ -22,7 +22,7 @@ uint64_t platform_tick_get_ms(void); } #define ESP_OK_CHECK(TAG, a, action) if ((a) != ESP_OK) { \ - ESP_LOGE(TAG,"%s(%d): %s", __FUNCTION__, __LINE__, "Failed with non ESP_OK err code"); \ + ESP_LOGE(TAG,"%s(%d): %s", __FUNCTION__, __LINE__, "Failed"); \ action; \ }