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
+3 -3
View File
@@ -140,9 +140,9 @@ static void _set_defa(nvObj_t *nv, bool print)
}
strncpy(nv->token, cfgArray[nv->index].token, TOKEN_LEN);
cfgArray[nv->index].set(nv); // run the set method, nv_set(nv);
if (cfgArray[nv->index].flags & F_PERSIST) {
nv_persist(nv);
}
// if (cfgArray[nv->index].flags & F_PERSIST) {
// nv_persist(nv);
// }
}
}
sr_init_status_report(); // reset status reports