浏览代码

Version bump + write version at startup if needed

tags/v1.2.2
Bertrand Lemasle 6 年前
父节点
当前提交
a2b3a33d84
共有 2 个文件被更改,包括 6 次插入2 次删除
  1. +5
    -1
      src/Config.cpp
  2. +1
    -1
      src/config/System.h

+ 5
- 1
src/Config.cpp 查看文件

@@ -51,7 +51,11 @@ namespace config {
void setup() { void setup() {
details::read(); details::read();
//details::write();
if(strcasecmp_P(value.version, PSTR(VERSION))) {
strcpy_P(value.version, PSTR(VERSION));
details::write();
}
} }
void save() { void save() {


+ 1
- 1
src/config/System.h 查看文件

@@ -20,7 +20,7 @@
\def VERSION \def VERSION
Version string, only used for indicative purpose Version string, only used for indicative purpose
*/ */
#define VERSION "1.20"
#define VERSION "1.21"
/** /**


正在加载...
取消
保存