mtd: fix a typo
This commit is contained in:
parent
61a46ad39e
commit
01348b70a9
@ -1863,8 +1863,8 @@ static int nvs_next(FAR struct nvs_fs *fs,
|
||||
return rc;
|
||||
}
|
||||
|
||||
memcpy(pdata->id, key, sizeof(pdata->id));
|
||||
memcpy(pdata->instance, key + sizeof(pdata->id), sizeof(pdata->instance));
|
||||
memcpy(&pdata->id, key, sizeof(pdata->id));
|
||||
memcpy(&pdata->instance, key + sizeof(pdata->id), sizeof(pdata->instance));
|
||||
#endif
|
||||
|
||||
rc = nvs_flash_rd(fs, (rd_addr & ADDR_BLOCK_MASK) + step_ate.offset +
|
||||
|
Loading…
Reference in New Issue
Block a user