Fix the char ; blocking serial on Marlin - so use M117 and refresh IP at start when setup is done

This commit is contained in:
Luc 2020-06-14 15:44:16 +02:00
parent 268d492c3f
commit b365cd95df
3 changed files with 4 additions and 3 deletions

View File

@ -231,7 +231,7 @@ size_t ESP3DOutput::printMSG(const char * s, bool withNL)
break;
case MARLIN:
case MARLINKIMBRA:
display = ";echo: ";
display = "M117 ";
display += s;
break;
case REPETIER4DV:

View File

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

View File

@ -87,7 +87,7 @@ bool NetServices::begin()
bool res = true;
_started = false;
String hostname = Settings_ESP3D::read_string(ESP_HOSTNAME);
ESP3DOutput output(ESP_SERIAL_CLIENT);
ESP3DOutput output(ESP_ALL_CLIENTS);
end();
#ifdef TIMESTAMP_FEATURE
if (WiFi.getMode() != WIFI_AP) {
@ -280,6 +280,7 @@ bool NetServices::begin()
if (!res) {
end();
}
output.printMSG(NetConfig::localIP().c_str());
_started = res;
return _started;
}