mirror of
https://github.com/synthetos/g2.git
synced 2026-09-23 12:14:09 +08:00
Cleanup when to persist
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user