Merge pull request #2132 from thinkyhead/fix_M120_M121

M120 and M121 are reversed
This commit is contained in:
Scott Lahteine 2015-05-21 16:20:03 -07:00
commit 71ff9adb12

View file

@ -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