Explorar el Código

Fix M105 ok hack

Voinea Dragos hace 3 años
padre
commit
176e2674b9
Se han modificado 1 ficheros con 2 adiciones y 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;
     }