mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-07-29 18:28:24 +02:00
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:
@ -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; \
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user