mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-02 02:39:57 +00:00
bump preferences #
This commit is contained in:
parent
5e55695862
commit
0d94458c4e
@ -26,7 +26,7 @@ DeviceState versions used to be defined in the .proto file but really only this
|
|||||||
#define here.
|
#define here.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define DEVICESTATE_CUR_VER 2
|
#define DEVICESTATE_CUR_VER 6
|
||||||
#define DEVICESTATE_MIN_VER DEVICESTATE_CUR_VER
|
#define DEVICESTATE_MIN_VER DEVICESTATE_CUR_VER
|
||||||
|
|
||||||
#define FS SPIFFS
|
#define FS SPIFFS
|
||||||
@ -159,6 +159,7 @@ void NodeDB::loadFromDisk()
|
|||||||
DEBUG_MSG("Warn: devicestate is old, discarding\n");
|
DEBUG_MSG("Warn: devicestate is old, discarding\n");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
DEBUG_MSG("Loaded saved preferences version %d\n", scratch.version);
|
||||||
devicestate = scratch;
|
devicestate = scratch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user