Browse Source

Merge pull request #2132 from thinkyhead/fix_M120_M121

M120 and M121 are reversed
pull/1/head
Scott Lahteine 10 years ago
parent
commit
71ff9adb12
  1. 4
      Marlin/Marlin_main.cpp

4
Marlin/Marlin_main.cpp

@ -3917,12 +3917,12 @@ inline void gcode_M119() {
/** /**
* M120: Enable endstops * M120: Enable endstops
*/ */
inline void gcode_M120() { enable_endstops(false); } inline void gcode_M120() { enable_endstops(true); }
/** /**
* M121: Disable endstops * M121: Disable endstops
*/ */
inline void gcode_M121() { enable_endstops(true); } inline void gcode_M121() { enable_endstops(false); }
#ifdef BLINKM #ifdef BLINKM

Loading…
Cancel
Save