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:
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.
|
||||
|
Loading…
Reference in New Issue
Block a user