소스 검색

Fix M105 ok hack

Voinea Dragos 3 년 전
부모
커밋
176e2674b9
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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;
     }