mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
NVS: fix align size
when update for powerloss data write, data_wra should move NVS_ALIGN_SIZE Signed-off-by: zhaoxingyu1 <zhaoxingyu1@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
0ddcbe62ec
commit
b706891fc7
@@ -73,7 +73,7 @@
|
||||
* starting.
|
||||
*/
|
||||
|
||||
#define NVS_CORRUPT_DATA_SKIP_STEP 1
|
||||
#define NVS_CORRUPT_DATA_SKIP_STEP NVS_ALIGN_SIZE
|
||||
|
||||
/* Gc done or close ate has the id of 0xffffffff.
|
||||
* We can tell if the ate is special by looking at its id.
|
||||
|
||||
Reference in New Issue
Block a user