Add Target FW in ESP420 to central access

This commit is contained in:
Luc 2020-06-17 16:18:41 +02:00
parent 9aedaceed8
commit 4a64a83bf0
2 changed files with 17 additions and 1 deletions

View File

@ -1232,6 +1232,22 @@ bool Commands::ESP420(const char* cmd_params, level_authenticate_type auth_type,
output->printLN(""); output->printLN("");
} }
#endif //ESP_DEBUG_FEATURE #endif //ESP_DEBUG_FEATURE
//Target Firmware
if (!plain) {
output->print (",{\"id\":\"targetfw");
} else output->print ("Target Fw");
if (!plain) {
output->print ("\",\"value\":\"");
} else {
output->print (": ");
}
output->print (Settings_ESP3D::GetFirmwareTargetShortName());
if (!plain) {
output->print ("\"}");
} else {
output->printLN("");
}
//FW version //FW version
if (!plain) { if (!plain) {
output->print (",{\"id\":\""); output->print (",{\"id\":\"");

View File

@ -22,7 +22,7 @@
#define _VERSION_ESP3D_H #define _VERSION_ESP3D_H
//version and sources location //version and sources location
#define FW_VERSION "3.0.0.a47" #define FW_VERSION "3.0.0.a48"
#define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0" #define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0"
#endif //_VERSION_ESP3D_H #endif //_VERSION_ESP3D_H