yoversion
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user