This commit is contained in:
Jeff Epler 2023-08-20 10:07:41 -05:00
parent d9022343dc
commit a3a9c7a098
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE

View File

@ -66,7 +66,7 @@ static esp_err_t get_bytes(nvs_handle_t handle, uint8_t **buf_out) {
*buf_out = NULL; *buf_out = NULL;
return result; return result;
} }
buf = m_m_alloc(size); // this SHOULD be the same as buf = m_malloc(size); // this SHOULD be the same as
if (result == ESP_OK) { if (result == ESP_OK) {
result = nvs_get_blob(handle, "data", buf, &size); result = nvs_get_blob(handle, "data", buf, &size);
} else { } else {