From f39658c822c0a9977d447b910b60e34c23901e14 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 21 May 2015 00:17:44 -0700 Subject: [PATCH] M120 and M121 are reversed --- Marlin/Marlin_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 3b915306c6..1ceb3c9356 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -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