mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Merge pull request #155 from Atntias/patch-1
adding M120 and 121 for turning on and off the endstops only for homing
This commit is contained in:
commit
362ddc4efc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user