Explorar o código

Fix M105 ok hack

Voinea Dragos %!s(int64=3) %!d(string=hai) anos
pai
achega
176e2674b9
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Firmware/Marlin_main.cpp

+ 2 - 1
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;
     }