This website works better with JavaScript.
Home
Explore
Help
Sign In
GPS
/
gpstracker-firmware
mirror of
https://github.com/blemasle/gpstracker-firmware.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
8
Wiki
Activity
Browse Source
Version bump + write version at startup if needed
tags/v1.2.2
Bertrand Lemasle
6 years ago
parent
5e447a057b
commit
a2b3a33d84
2 changed files
with
6 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
src/Config.cpp
+1
-1
src/config/System.h
+ 5
- 1
src/Config.cpp
View File
@@ -51,7 +51,11 @@ namespace config {
void setup() {
details::read();
//details::write();
if(strcasecmp_P(value.version, PSTR(VERSION))) {
strcpy_P(value.version, PSTR(VERSION));
details::write();
}
}
void save() {
+ 1
- 1
src/config/System.h
View File
@@ -20,7 +20,7 @@
\def VERSION
Version string, only used for indicative purpose
*/
#define VERSION "1.2
0
"
#define VERSION "1.2
1
"
/**
Write
Preview
Loading…
Cancel
Save