require apps to be 1.1.20 or later

This commit is contained in:
Kevin Hester
2020-12-05 10:27:04 +08:00
parent b6e21bcbcd
commit 91b99bd584
2 changed files with 3 additions and 3 deletions

View File

@@ -184,7 +184,7 @@ void NodeDB::installDefaultDeviceState()
// default to no GPS, until one has been found by probing
myNodeInfo.has_gps = false;
myNodeInfo.message_timeout_msec = FLOOD_EXPIRE_TIME;
myNodeInfo.min_app_version = 172;
myNodeInfo.min_app_version = 20120; // format is Mmmss (where M is 1+the numeric major number. i.e. 20120 means 1.1.20
generatePacketId(); // FIXME - ugly way to init current_packet_id;
// Init our blank owner info to reasonable defaults