Merge branch 'fix/gen_esp_err_to_name' into 'master'

Change error message to fix warning.

Closes IDF-5028

See merge request espressif/esp-mqtt!234
This commit is contained in:
Rocha Euripedes
2025-04-09 15:28:58 +08:00

View File

@ -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; \
}