style: updated error macros
This commit is contained in:
1 parent
684b38e52d
commit
0b800218f2
1 file changed
+1
-1
+1
-1
@@ -16,7 +16,7 @@ static const char *TAG = "zh_vector";
|
|||||||
#define ZH_ERROR_CHECK_VOID(cond, cleanup, msg, ...) \
|
#define ZH_ERROR_CHECK_VOID(cond, cleanup, msg, ...) \
|
||||||
if (!(cond)) \
|
if (!(cond)) \
|
||||||
{ \
|
{ \
|
||||||
ZH_LOGE(msg, 0, ##__VA_ARGS__); \
|
ZH_LOGE(msg, ESP_FAIL, ##__VA_ARGS__); \
|
||||||
cleanup; \
|
cleanup; \
|
||||||
return; \
|
return; \
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user