mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
Make error codes looks like literals in the code of them (easy for searching). Minor fixes, typos
This commit is contained in:

committed by
Angus Gratton

parent
3d89c8ba74
commit
046ff2e628
@@ -41,7 +41,7 @@ static const char* TAG = "event";
|
||||
do{\
|
||||
esp_err_t __err = (api_call);\
|
||||
if ((ret) != __err) {\
|
||||
ESP_LOGE(TAG, "%s %d %s ret=%d", __FUNCTION__, __LINE__, (info), __err);\
|
||||
ESP_LOGE(TAG, "%s %d %s ret=0x%X", __FUNCTION__, __LINE__, (info), __err);\
|
||||
return __err;\
|
||||
}\
|
||||
} while(0)
|
||||
|
Reference in New Issue
Block a user