浏览代码

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
 /**
3917
 /**
3918
  * M120: Enable endstops
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
  * M121: Disable endstops
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
 #ifdef BLINKM
3927
 #ifdef BLINKM
3928
 
3928
 

正在加载...
取消
保存