Cleanup M401 / M402

master
Scott Lahteine 8 years ago
parent 3afda99adf
commit 68f3350050

@ -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