Browse Source

Cleanup M401 / M402

pull/1/head
Scott Lahteine 9 years ago
parent
commit
68f3350050
  1. 8
      Marlin/Marlin_main.cpp

8
Marlin/Marlin_main.cpp

@ -5988,16 +5988,12 @@ inline void gcode_M400() { stepper.synchronize(); }
/** /**
* M401: Engage Z Servo endstop if available * M401: Engage Z Servo endstop if available
*/ */
inline void gcode_M401() { inline void gcode_M401() { deploy_z_probe(); }
deploy_z_probe();
}
/** /**
* M402: Retract Z Servo endstop if enabled * M402: Retract Z Servo endstop if enabled
*/ */
inline void gcode_M402() { inline void gcode_M402() { stow_z_probe(); }
stow_z_probe();
}
#endif // HAS_BED_PROBE #endif // HAS_BED_PROBE

Loading…
Cancel
Save