Enable M401 and M402 for deltas with allen key z-probes.
This commit is contained in:
parent
0d593ab7c1
commit
424c747fb3
@ -4083,7 +4083,7 @@ inline void gcode_M303() {
|
|||||||
*/
|
*/
|
||||||
inline void gcode_M400() { st_synchronize(); }
|
inline void gcode_M400() { st_synchronize(); }
|
||||||
|
|
||||||
#if defined(ENABLE_AUTO_BED_LEVELING) && defined(SERVO_ENDSTOPS) && not defined(Z_PROBE_SLED)
|
#if defined(ENABLE_AUTO_BED_LEVELING) && (defined(SERVO_ENDSTOPS) || defined(Z_PROBE_ALLEN_KEY)) && not defined(Z_PROBE_SLED)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* M401: Engage Z Servo endstop if available
|
* M401: Engage Z Servo endstop if available
|
||||||
@ -4940,7 +4940,7 @@ void process_commands() {
|
|||||||
gcode_M400();
|
gcode_M400();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#if defined(ENABLE_AUTO_BED_LEVELING) && defined(SERVO_ENDSTOPS) && not defined(Z_PROBE_SLED)
|
#if defined(ENABLE_AUTO_BED_LEVELING) && (defined(SERVO_ENDSTOPS) || defined(Z_PROBE_ALLEN_KEY)) && not defined(Z_PROBE_SLED)
|
||||||
case 401:
|
case 401:
|
||||||
gcode_M401();
|
gcode_M401();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user