Skip to content

Commit a3a9c7a

Browse files
committed
fix typo
1 parent d902234 commit a3a9c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/espressif/common-hal/nvm/ByteArray.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static esp_err_t get_bytes(nvs_handle_t handle, uint8_t **buf_out) {
6666
*buf_out = NULL;
6767
return result;
6868
}
69-
buf = m_m_alloc(size); // this SHOULD be the same as
69+
buf = m_malloc(size); // this SHOULD be the same as
7070
if (result == ESP_OK) {
7171
result = nvs_get_blob(handle, "data", buf, &size);
7272
} else {

0 commit comments

Comments
 (0)