Add parameter to [ESP800] to set setup flag

This commit is contained in:
Luc 2020-11-05 14:20:19 +01:00
parent 1eb58d507d
commit 41227d7a4e
2 changed files with 5 additions and 1 deletions

View File

@ -71,6 +71,10 @@ bool Commands::ESP800(const char* cmd_params, level_authenticate_type auth_type,
}
}
#endif //TIMESTAMP_FEATURE
parameter = get_param (cmd_params, "setup=");
if(parameter.length() > 0) {
Settings_ESP3D::write_byte (ESP_SETUP, parameter =="0"?0:1);
}
//FW version
if (plain) {
output->print("FW version:");

View File

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