bump preferences #

pull/44/head
geeksville 2020-03-18 14:59:30 -07:00
rodzic 5e55695862
commit 0d94458c4e
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -26,7 +26,7 @@ DeviceState versions used to be defined in the .proto file but really only this
#define here.
*/
#define DEVICESTATE_CUR_VER 2
#define DEVICESTATE_CUR_VER 6
#define DEVICESTATE_MIN_VER DEVICESTATE_CUR_VER
#define FS SPIFFS
@ -159,6 +159,7 @@ void NodeDB::loadFromDisk()
DEBUG_MSG("Warn: devicestate is old, discarding\n");
else
{
DEBUG_MSG("Loaded saved preferences version %d\n", scratch.version);
devicestate = scratch;
}