diff --git a/zh_vector.c b/zh_vector.c index cfe036b..19e1e90 100644 --- a/zh_vector.c +++ b/zh_vector.c @@ -16,7 +16,7 @@ static const char *TAG = "zh_vector"; #define ZH_ERROR_CHECK_VOID(cond, cleanup, msg, ...) \ if (!(cond)) \ { \ - ZH_LOGE(msg, 0, ##__VA_ARGS__); \ + ZH_LOGE(msg, ESP_FAIL, ##__VA_ARGS__); \ cleanup; \ return; \ }