Skip to content

Commit 5620fe5

Browse files
committed
Fix [ESP444]RESTART do not release connection with web client
1 parent 0582361 commit 5620fe5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

esp3d/src/core/espcmd/ESP444.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ bool Commands::ESP444(const char* cmd_params, level_authenticate_type auth_type,
3939
#endif //AUTHENTICATION_FEATURE
4040
if (hastag(cmd_params,"RESTART")) {
4141
output->printMSG ("Restart ongoing");
42+
output->flush();
43+
Hal::wait(100);
4244
Esp3D::restart_esp();
4345
} else if (hastag(cmd_params,"RESET")) {
4446
if (Esp3D::reset()) {

esp3d/src/include/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#define _VERSION_ESP3D_H
2323

2424
//version and sources location
25-
#define FW_VERSION "3.0.0.a103"
25+
#define FW_VERSION "3.0.0.a104"
2626
#define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0"
2727

2828
#endif //_VERSION_ESP3D_H

0 commit comments

Comments
 (0)