From 8af8e8dfa79864fc6cc963260e5a991cfc276a05 Mon Sep 17 00:00:00 2001 From: Luc <8822552+luc-github@users.noreply.github.com> Date: Sat, 23 Jul 2022 12:29:07 +0800 Subject: [PATCH] Fix typo that make ESP701 resume not working --- esp3d/src/include/version.h | 2 +- esp3d/src/modules/gcode_host/gcode_host.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/esp3d/src/include/version.h b/esp3d/src/include/version.h index e233e338..ac29c037 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.a202" +#define FW_VERSION "3.0.0.a203" #define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0" #endif //_VERSION_ESP3D_H diff --git a/esp3d/src/modules/gcode_host/gcode_host.cpp b/esp3d/src/modules/gcode_host/gcode_host.cpp index 0ca30c82..be3e9085 100644 --- a/esp3d/src/modules/gcode_host/gcode_host.cpp +++ b/esp3d/src/modules/gcode_host/gcode_host.cpp @@ -440,7 +440,7 @@ bool GcodeHost::resume() if (_step != HOST_PAUSE_STREAM) { return false; } - _step = HOST_PAUSE_STREAM; + _step = _nextStep; return true; }