mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 22:08:02 +00:00
Deploy & Stow in G29 for Delta + Z Servo Endstop
This commit is contained in:
parent
33a9d32800
commit
82ef101ed5
@ -339,7 +339,7 @@
|
||||
#define MAX_PROBE_Y (min(Y_MAX_POS, Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))
|
||||
#endif
|
||||
|
||||
#define SERVO_LEVELING (defined(AUTO_BED_LEVELING_FEATURE) && defined(Z_ENDSTOP_SERVO_NR))
|
||||
#define SERVO_LEVELING (ENABLED(AUTO_BED_LEVELING_FEATURE) && defined(Z_ENDSTOP_SERVO_NR) && Z_ENDSTOP_SERVO_NR >= 0)
|
||||
|
||||
/**
|
||||
* Sled Options
|
||||
|
@ -3074,7 +3074,7 @@ inline void gcode_G28() {
|
||||
|
||||
#if ENABLED(Z_PROBE_SLED)
|
||||
dock_sled(false); // engage (un-dock) the Z probe
|
||||
#elif ENABLED(Z_PROBE_ALLEN_KEY) //|| SERVO_LEVELING
|
||||
#elif ENABLED(Z_PROBE_ALLEN_KEY) || (ENABLED(DELTA) && SERVO_LEVELING)
|
||||
deploy_z_probe();
|
||||
#endif
|
||||
|
||||
@ -3342,7 +3342,7 @@ inline void gcode_G28() {
|
||||
|
||||
#if ENABLED(DELTA)
|
||||
// Allen Key Probe for Delta
|
||||
#if ENABLED(Z_PROBE_ALLEN_KEY)
|
||||
#if ENABLED(Z_PROBE_ALLEN_KEY) || SERVO_LEVELING
|
||||
stow_z_probe();
|
||||
#elif Z_RAISE_AFTER_PROBING > 0
|
||||
raise_z_after_probing(); // ???
|
||||
|
Loading…
Reference in New Issue
Block a user