1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-24 04:29:34 +00:00

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
*/
inline void gcode_M120() { enable_endstops(false); }
inline void gcode_M120() { enable_endstops(true); }
/**
* M121: Disable endstops
*/
inline void gcode_M121() { enable_endstops(true); }
inline void gcode_M121() { enable_endstops(false); }
#ifdef BLINKM