Browse Source

Fix M105 ok hack

Voinea Dragos 3 years ago
parent
commit
176e2674b9
1 changed files with 2 additions and 1 deletions
  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;
     }