Explorar o código

Fix missing ok in M601

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

+ 1 - 0
Firmware/Marlin_main.cpp

@@ -7994,6 +7994,7 @@ Sigma_Exit:
         if (!isPrintPaused)
         {
             st_synchronize();
+            ClearToSend(); //send OK even before the command finishes executing because we want to make sure it is not skipped because of cmdqueue_pop_front();
             cmdqueue_pop_front(); //trick because we want skip this command (M601) after restore
             lcd_pause_print();
         }