Only save the changed parts of config to disk.
This commit is contained in:
1 parent
dc097c7230
commit
3597685b23
7 files changed
+42
-30
No files matched your search
+1
-1
@@ -324,7 +324,7 @@ void setup()
|
||||
DEBUG_MSG("GPS FactoryReset requested\n");
|
||||
if (gps->factoryReset()) { // If we don't succeed try again next time
|
||||
devicestate.did_gps_reset = true;
|
||||
nodeDB.saveToDisk();
|
||||
nodeDB.saveToDisk(SEGMENT_DEVICESTATE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user