ソースを参照

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
 

読み込み中…
キャンセル
保存