fix typo
This commit is contained in:
parent
d9022343dc
commit
a3a9c7a098
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user