Cleanup M401 / M402

This commit is contained in:
Scott Lahteine 2016-06-23 17:04:41 -07:00
parent 3afda99adf
commit 68f3350050

View file

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