diff --git a/yoRadio/src/core/config.cpp b/yoRadio/src/core/config.cpp index 99c3b95..3e505c7 100644 --- a/yoRadio/src/core/config.cpp +++ b/yoRadio/src/core/config.cpp @@ -543,7 +543,7 @@ void Config::sleepForAfter(uint16_t sf, uint16_t sa){ void Config::bootInfo() { BOOTLOG("************************************************"); - BOOTLOG("* ёPadio v%s *", VERSION); + BOOTLOG("* ёPadio v%s *", YOVERSION); BOOTLOG("************************************************"); BOOTLOG("------------------------------------------------"); BOOTLOG("arduino:\t%d", ARDUINO); diff --git a/yoRadio/src/core/netserver.cpp b/yoRadio/src/core/netserver.cpp index 69b3cf2..2b13a37 100644 --- a/yoRadio/src/core/netserver.cpp +++ b/yoRadio/src/core/netserver.cpp @@ -599,7 +599,7 @@ void NetServer::requestOnChange(requestType_e request, uint8_t clientId) { } String processor(const String& var) { // %Templates% - if (var == "VERSION") return VERSION; + if (var == "VERSION") return YOVERSION; return String(); } diff --git a/yoRadio/src/core/options.h b/yoRadio/src/core/options.h index 36ed8d4..bae4260 100644 --- a/yoRadio/src/core/options.h +++ b/yoRadio/src/core/options.h @@ -1,7 +1,7 @@ #ifndef options_h #define options_h -#define VERSION "0.8.170" +#define YOVERSION "0.8.171" /******************************************************* DO NOT EDIT THIS FILE. diff --git a/yoRadio/src/core/telnet.cpp b/yoRadio/src/core/telnet.cpp index 50f8b9e..288e89d 100644 --- a/yoRadio/src/core/telnet.cpp +++ b/yoRadio/src/core/telnet.cpp @@ -345,7 +345,7 @@ void Telnet::on_input(const char* str, byte clientId) { } } if (strcmp(str, "sys.version") == 0 || strcmp(str, "version") == 0) { - printf(clientId, "##SYS.VERSION#: %s\n> ", VERSION); + printf(clientId, "##SYS.VERSION#: %s\n> ", YOVERSION); return; } if (strcmp(str, "sys.boot") == 0 || strcmp(str, "boot") == 0 || strcmp(str, "reboot") == 0) { diff --git a/yoRadio/src/displays/nextion.cpp b/yoRadio/src/displays/nextion.cpp index 26f1d1a..a328a88 100644 --- a/yoRadio/src/displays/nextion.cpp +++ b/yoRadio/src/displays/nextion.cpp @@ -156,7 +156,7 @@ void Nextion::loop() { if(strcmp(scanBuf, "player") == 0) display.putRequest(NEWMODE, PLAYER); if(strcmp(scanBuf, "playlist") == 0) display.putRequest(NEWMODE, STATIONS); if(strcmp(scanBuf, "info") == 0) { - putcmd("yoversion.txt", VERSION); + putcmd("yoversion.txt", YOVERSION); putcmd("espcore.txt", _espcoreversion); putcmd("ipaddr.txt", WiFi.localIP().toString().c_str()); putcmd("ssid.txt", WiFi.SSID().c_str());