Skip to content

Commit 198d44c

Browse files
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
2 parents 03feb38 + c395c2f commit 198d44c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/include/platform_esp32_idf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ uint64_t platform_tick_get_ms(void);
2222
}
2323

2424
#define ESP_OK_CHECK(TAG, a, action) if ((a) != ESP_OK) { \
25-
ESP_LOGE(TAG,"%s(%d): %s", __FUNCTION__, __LINE__, "Failed with non ESP_OK err code"); \
25+
ESP_LOGE(TAG,"%s(%d): %s", __FUNCTION__, __LINE__, "Failed"); \
2626
action; \
2727
}
2828

0 commit comments

Comments
 (0)