diff --git a/GpsTracker/Config.cpp b/GpsTracker/Config.cpp index f2b20f2..5306df2 100644 --- a/GpsTracker/Config.cpp +++ b/GpsTracker/Config.cpp @@ -30,6 +30,7 @@ namespace config { //}; //value.network = c; + strcpy(value.version, VERSION); value.alertBatteryLevel1 = CONFIG_DEFAULT_BATTERY_ALERT_LEVEL1; value.alertBatteryLevel2 = CONFIG_DEFAULT_BATTERY_ALERT_LEVEL2; value.alertBatteryLevelClear = CONFIG_DEFAULT_BATTERY_ALERT_CLEAR; diff --git a/GpsTracker/Config.h b/GpsTracker/Config.h index 561fd4e..e29df76 100644 --- a/GpsTracker/Config.h +++ b/GpsTracker/Config.h @@ -14,7 +14,7 @@ #define CONFIG_ADDR 0 #define CONFIG_RESERVED_SIZE 128 #define CONFIG_SEED 13 -#define VERSION "1.00" +#define VERSION "1.1" #define CONFIG_DEFAULT_BATTERY_ALERT_LEVEL1 45 #define CONFIG_DEFAULT_BATTERY_ALERT_LEVEL2 38 #define CONFIG_DEFAULT_BATTERY_ALERT_CLEAR 60