소스 검색

Merge pull request #2132 from thinkyhead/fix_M120_M121

M120 and M121 are reversed
Scott Lahteine 10 년 전
부모
커밋
71ff9adb12
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp 파일 보기

@@ -3917,12 +3917,12 @@ inline void gcode_M119() {
3917 3917
 /**
3918 3918
  * M120: Enable endstops
3919 3919
  */
3920
-inline void gcode_M120() { enable_endstops(false); }
3920
+inline void gcode_M120() { enable_endstops(true); }
3921 3921
 
3922 3922
 /**
3923 3923
  * M121: Disable endstops
3924 3924
  */
3925
-inline void gcode_M121() { enable_endstops(true); }
3925
+inline void gcode_M121() { enable_endstops(false); }
3926 3926
 
3927 3927
 #ifdef BLINKM
3928 3928
 

Loading…
취소
저장