From 176e2674b9b3bebdff40f3afc393ee1992801e9c Mon Sep 17 00:00:00 2001 From: Voinea Dragos Date: Mon, 9 Nov 2020 21:39:22 +0200 Subject: [PATCH] Fix M105 ok hack --- Firmware/Marlin_main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index d47576cd8..c6f9e4b74 100755 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -6399,7 +6399,8 @@ Sigma_Exit: SERIAL_PROTOCOLPGM("ok "); gcode_M105(extruder); - return; + cmdqueue_pop_front(); //prevent an ok after the command since this command uses an ok at the beginning. + break; }