- update: fix release cycle handling; add human readable version string

Signed-off-by: GetAway <get-away@t-online.de>
This commit is contained in:
svenhoefer
2020-06-13 22:18:19 +02:00
committed by GetAway
parent 5d9749b1a0
commit 33ecf51bdb
6 changed files with 27 additions and 22 deletions

View File

@@ -79,7 +79,8 @@ class CFlashVersionInfo
char date[11];
char time[6];
char releaseCycle[5];
char releaseCycle[4];
char vstring[5]; // human readable version
int version;
time_t datetime;
@@ -92,7 +93,8 @@ class CFlashVersionInfo
const char *getTime(void) const;
const char *getReleaseCycle(void) const;
const char *getType(bool localized = false) const;
int getVersion(void) const;
int getVersion(void) const;
const char *getVersionString(void) const;
time_t getDateTime(void) const { return datetime; };
};