Browse Source

Merge pull request #155 from Atntias/patch-1

adding M120 and 121 for turning on and off the endstops only for homing
ErikZalm 13 years ago
parent
commit
362ddc4efc
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      Marlin/Marlin.pde

+ 6
- 0
Marlin/Marlin.pde View File

1100
       
1100
       
1101
       SERIAL_PROTOCOLLN("");
1101
       SERIAL_PROTOCOLLN("");
1102
       break;
1102
       break;
1103
+    case 120: // M120
1104
+      enable_endstops(false) ;
1105
+      break;
1106
+    case 121: // M121
1107
+      enable_endstops(true) ;
1108
+      break;
1103
     case 119: // M119
1109
     case 119: // M119
1104
       #if (X_MIN_PIN > -1)
1110
       #if (X_MIN_PIN > -1)
1105
         SERIAL_PROTOCOLPGM(MSG_X_MIN);
1111
         SERIAL_PROTOCOLPGM(MSG_X_MIN);

Loading…
Cancel
Save