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

Origin commit data
------------------
Branch: ni/coolstream
Commit: 87d60639ae
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-11-29 (Thu, 29 Nov 2018)

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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-11-29 22:47:42 +01:00
parent 6993e6d2f0
commit 200e14a1e6
7 changed files with 33 additions and 34 deletions

View File

@@ -80,7 +80,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;
@@ -93,7 +94,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; };
};