Browse Source

Merge pull request #2132 from thinkyhead/fix_M120_M121

M120 and M121 are reversed
Scott Lahteine 10 years ago
parent
commit
71ff9adb12
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp View File

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
 

Loading…
Cancel
Save