feat: added support old version
This commit is contained in:
1 parent
eefe6c1210
commit
a19e4da88a
4 files changed
+5
-5
No files matched your search
+1
-1
@@ -15,7 +15,7 @@ static const char *TAG = "zh_vector";
|
||||
|
||||
static esp_err_t _resize(zh_vector_t *vector, uint16_t capacity);
|
||||
|
||||
esp_err_t zh_vector_init(zh_vector_t *vector, uint16_t unit)
|
||||
esp_err_t zh_vector_init(zh_vector_t *vector, uint16_t unit, ...)
|
||||
{
|
||||
ZH_LOGI("Vector initialization begin.");
|
||||
ZH_ERROR_CHECK(vector != NULL && unit != 0, ESP_ERR_INVALID_ARG, NULL, "Vector initialization failed. Invalid argument.");
|
||||
|
||||
Reference in new issue
Block a user