This website works better with JavaScript.
首頁
探索
說明
登入
GPS
/
gpstracker-firmware
镜像来自
https://github.com/blemasle/gpstracker-firmware.git
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
8
Wiki
Activity
瀏覽代碼
Version bump + write version at startup if needed
tags/v1.2.2
Bertrand Lemasle
6 年之前
父節點
5e447a057b
當前提交
a2b3a33d84
共有
2 個文件被更改
,包括
6 次插入
和
2 次删除
分割檢視
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
查看文件
@@ -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
查看文件
@@ -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…
取消
儲存