From 5620fe5cdae30aee9b034a450ed1906497deb983 Mon Sep 17 00:00:00 2001 From: Luc <8822552+luc-github@users.noreply.github.com> Date: Tue, 21 Sep 2021 20:48:43 +0200 Subject: [PATCH] Fix [ESP444]RESTART do not release connection with web client --- esp3d/src/core/espcmd/ESP444.cpp | 2 ++ esp3d/src/include/version.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/esp3d/src/core/espcmd/ESP444.cpp b/esp3d/src/core/espcmd/ESP444.cpp index 5fe93c70..f466d540 100644 --- a/esp3d/src/core/espcmd/ESP444.cpp +++ b/esp3d/src/core/espcmd/ESP444.cpp @@ -39,6 +39,8 @@ bool Commands::ESP444(const char* cmd_params, level_authenticate_type auth_type, #endif //AUTHENTICATION_FEATURE if (hastag(cmd_params,"RESTART")) { output->printMSG ("Restart ongoing"); + output->flush(); + Hal::wait(100); Esp3D::restart_esp(); } else if (hastag(cmd_params,"RESET")) { if (Esp3D::reset()) { diff --git a/esp3d/src/include/version.h b/esp3d/src/include/version.h index 4c643e25..0cc78f69 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.a103" +#define FW_VERSION "3.0.0.a104" #define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0" #endif //_VERSION_ESP3D_H