mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-02 18:51:38 +02:00
add language, syslog and simulator identifier to version string
This commit is contained in:
parent
f5158d4725
commit
7c1ddf875f
2 changed files with 16 additions and 1 deletions
15
src/app.cpp
15
src/app.cpp
|
@ -486,6 +486,21 @@ void app::resetSystem(void) {
|
||||||
#ifdef AP_ONLY
|
#ifdef AP_ONLY
|
||||||
"A"
|
"A"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef ENABLE_SYSLOG
|
||||||
|
"Y"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef ENABLE_SIMULATOR
|
||||||
|
"S"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
"-"
|
||||||
|
#ifdef LANG_DE
|
||||||
|
"de"
|
||||||
|
#else
|
||||||
|
"en"
|
||||||
|
#endif
|
||||||
);
|
);
|
||||||
|
|
||||||
#ifdef AP_ONLY
|
#ifdef AP_ONLY
|
||||||
|
|
|
@ -386,7 +386,7 @@ class app : public IApp, public ah::Scheduler {
|
||||||
CmtRadio<> mCmtRadio;
|
CmtRadio<> mCmtRadio;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char mVersion[18];
|
char mVersion[23];
|
||||||
settings mSettings;
|
settings mSettings;
|
||||||
settings_t *mConfig;
|
settings_t *mConfig;
|
||||||
bool mSavePending;
|
bool mSavePending;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue