소스 검색

Follow RepRap Wiki G-codes documentation
M120 is Enable endstops
M121 is disable endstops
I guess this was just a typo issue.

3d-gussner 4 년 전
부모
커밋
21dcfb23f4
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      Firmware/Marlin_main.cpp

+ 4 - 4
Firmware/Marlin_main.cpp

@@ -6366,16 +6366,16 @@ Sigma_Exit:
       lcd_setstatus(strchr_pointer + 5);
       break;*/
 
-    //! ### M120 - Disable endstops
+    //! ### M120 - Ensable endstops
     // ----------------------------------------
     case 120:
-      enable_endstops(false) ;
+      enable_endstops(true) ;
       break;
 
-    //! ### M121 - Enable endstops
+    //! ### M121 - Disable endstops
     // ----------------------------------------
     case 121:
-      enable_endstops(true) ;
+      enable_endstops(false) ;
       break;
 
     //! ### M119 - Get endstop states