yoversion

This commit is contained in:
e2002
2022-12-09 11:23:26 +03:00
parent 6914792989
commit b7ce2a98c7
5 changed files with 5 additions and 5 deletions

View File

@@ -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);

View File

@@ -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();
}

View File

@@ -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.

View File

@@ -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) {

View File

@@ -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());