Cleanup when to persist

This commit is contained in:
Rob Giseburt
2020-01-10 19:25:10 -06:00
parent add4bb778c
commit 3cfff7bd16
3 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -130,9 +130,9 @@ stat_t read_persistent_value(nvObj_t *nv)
stat_t write_persistent_value(nvObj_t *nv)
{
if (read_persistent_value(nv) != STAT_OK) {
// if (read_persistent_value(nv) != STAT_OK) {
nvm.changed_nv_indexes[nvm.changed_nvs++] = nv->index;
}
// }
return (STAT_OK);
}