diff --git a/esp3d/src/core/esp3d.cpp b/esp3d/src/core/esp3d.cpp index 51683c0a..d2bc2395 100644 --- a/esp3d/src/core/esp3d.cpp +++ b/esp3d/src/core/esp3d.cpp @@ -174,6 +174,10 @@ void Esp3D::restart_esp(bool need_restart) void Esp3D::restart_now() { log_esp3d("Restarting"); + serial_service.flush(); +#if defined(FILESYSTEM_FEATURE) + ESP_FileSystem::end(); +#endif //FILESYSTEM_FEATURE serial_service.swap(); ESP.restart(); while (1) { diff --git a/esp3d/src/include/version.h b/esp3d/src/include/version.h index a745453f..b572fa58 100644 --- a/esp3d/src/include/version.h +++ b/esp3d/src/include/version.h @@ -22,7 +22,7 @@ #define _VERSION_ESP3D_H //version and sources location -#define FW_VERSION "3.0.0.a45" +#define FW_VERSION "3.0.0.a46" #define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0" #endif //_VERSION_ESP3D_H diff --git a/esp3d/src/modules/network/netservices.cpp b/esp3d/src/modules/network/netservices.cpp index b5a04f27..854f0c04 100644 --- a/esp3d/src/modules/network/netservices.cpp +++ b/esp3d/src/modules/network/netservices.cpp @@ -280,6 +280,7 @@ bool NetServices::begin() if (!res) { end(); } + Hal::wait(1000); output.printMSG(NetConfig::localIP().c_str()); _started = res; return _started;