浏览代码

Fix missing ok in M601

Alex Voinea 3 年之前
父节点
当前提交
0ee8e1f424
共有 1 个文件被更改,包括 1 次插入0 次删除
  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();
         }