소스 검색

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() {
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.20"
#define VERSION "1.21"
/**


불러오는 중...
취소
저장