Fix devicestate persistence bug

This commit is contained in:
Ben Meadors 2024-03-19 10:31:31 -05:00
parent a6625998f5
commit 4fa7f5a748
2 changed files with 2 additions and 1 deletions

View File

@ -649,6 +649,7 @@ void NodeDB::saveDeviceStateToDisk()
#ifdef FSCom
FSCom.mkdir("/prefs");
#endif
saveProto(prefFileName, meshtastic_DeviceState_size, &meshtastic_DeviceState_msg, &devicestate);
}
void NodeDB::saveToDisk(int saveWhat)

View File

@ -1,4 +1,4 @@
[VERSION]
major = 2
minor = 3
build = 2
build = 1