Cleanup M401 / M402
This commit is contained in:
parent
3afda99adf
commit
68f3350050
1 changed files with 2 additions and 6 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Reference in a new issue