Make devicestate.version a private #define in the device code

pull/2/head
Kevin Hester 2020-03-03 13:45:31 -08:00
rodzic e1a48b6e75
commit f309ee8f9e
1 zmienionych plików z 2 dodań i 15 usunięć

Wyświetl plik

@ -313,22 +313,9 @@ message DeviceState {
/// Received packets saved for delivery to the phone
repeated MeshPacket receive_queue = 5;
enum Version {
option allow_alias = true;
/// default value for old files before we added version.
Unset = 0;
/// We bump up the integer values in this enum to indicate minimum levels of encodings for saved files
/// if your file is below the Minimum you should discard it.
Minimum = 17;
/// The current value we are using for saved files
Current = 17;
};
/// A version integer used to invalidate old save files when we make incompatible changes
Version version = 6;
/// This integer is set at build time and is private to NodeDB.cpp in the device code.
uint32 version = 8;
/// We keep the last received text message (only) stored in the device flash, so we can show it on the screen. Might be null
MeshPacket rx_text_message = 7;