mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-06-25 17:31:41 +02:00
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.
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