made FW-Version same Format as FS.Version
This commit is contained in:
parent
b9f658b111
commit
f9498dac7d
@ -26,8 +26,7 @@
|
||||
#define HOST_NAME "ChainLube_%06X" // Use printf-Formatting - Chip-ID (uin32_t) will be added
|
||||
#endif
|
||||
|
||||
#define SW_VERSION_MAJOR 1
|
||||
#define SW_VERSION_MINOR 1
|
||||
#define SW_VERSION 1.2
|
||||
|
||||
#define FLASH_FS_VERSION 1.2
|
||||
|
||||
|
@ -327,7 +327,7 @@ void RemotDebug_printSystemInfo()
|
||||
: "UNKNOWN"));
|
||||
debugA("OTA-Pass: %s", QUOTE(ADMIN_PASSWORD));
|
||||
debugA("Git-Revison: %s", GIT_REV);
|
||||
debugA("Sw-Version: %d.%02d", SW_VERSION_MAJOR, SW_VERSION_MINOR);
|
||||
debugA("Sw-Version: %s", QUOTE(SW_VERSION));
|
||||
}
|
||||
|
||||
void RemoteDebug_dumpConfig()
|
||||
|
@ -210,9 +210,7 @@ String processor(const String &var)
|
||||
return String(globals.systemStatustxt);
|
||||
if (var == "SW_VERSION")
|
||||
{
|
||||
char buffer[7];
|
||||
sprintf(buffer, "%d.%02d", SW_VERSION_MAJOR, SW_VERSION_MINOR);
|
||||
return String(buffer);
|
||||
return String(QUOTE(SW_VERSION));
|
||||
}
|
||||
if (var == "FS_VERSION")
|
||||
return String(globals.FlashVersion);
|
||||
|
Loading…
x
Reference in New Issue
Block a user