From: sefi Date: Sat, 28 Apr 2012 14:31:22 +0000 (+0300) Subject: adding M120 and 121 for turning on and off the endstops only for homing function X-Git-Tag: iwj-success-2012-07-29~32^2~1^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e11e072eca83ec72863bff98691914356288436c;p=marlin.git adding M120 and 121 for turning on and off the endstops only for homing function --- diff --git a/Marlin/Marlin.pde b/Marlin/Marlin.pde index a7c4c11..d91e355 100644 --- a/Marlin/Marlin.pde +++ b/Marlin/Marlin.pde @@ -1100,6 +1100,12 @@ void process_commands() SERIAL_PROTOCOLLN(""); break; + case 120: // M120 + enable_endstops(false) ; + break; + case 121: // M121 + enable_endstops(true) ; + break; case 119: // M119 #if (X_MIN_PIN > -1) SERIAL_PROTOCOLPGM(MSG_X_MIN);