|
@@ -2163,26 +2163,27 @@ static void setup_for_endstop_move() {
|
2163
|
2163
|
// this also updates current_position
|
2164
|
2164
|
do_blocking_move_to_xy(x - (X_PROBE_OFFSET_FROM_EXTRUDER), y - (Y_PROBE_OFFSET_FROM_EXTRUDER));
|
2165
|
2165
|
|
2166
|
|
- #if DISABLED(Z_PROBE_SLED) && DISABLED(Z_PROBE_ALLEN_KEY)
|
2167
|
|
- if (probe_action & ProbeDeploy) {
|
2168
|
|
- #if ENABLED(DEBUG_LEVELING_FEATURE)
|
2169
|
|
- if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("> ProbeDeploy");
|
2170
|
|
- #endif
|
2171
|
|
- deploy_z_probe();
|
2172
|
|
- }
|
|
2166
|
+ // Z Sled and Allen Key should never deploy-and-stow
|
|
2167
|
+ #if ENABLED(Z_PROBE_SLED) || ENABLED(Z_PROBE_ALLEN_KEY)
|
|
2168
|
+ if (probe_action == ProbeDeployAndStow) probe_action == ProbeStay;
|
2173
|
2169
|
#endif
|
2174
|
2170
|
|
|
2171
|
+ if (probe_action & ProbeDeploy) {
|
|
2172
|
+ #if ENABLED(DEBUG_LEVELING_FEATURE)
|
|
2173
|
+ if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("> ProbeDeploy");
|
|
2174
|
+ #endif
|
|
2175
|
+ deploy_z_probe();
|
|
2176
|
+ }
|
|
2177
|
+
|
2175
|
2178
|
run_z_probe();
|
2176
|
2179
|
float measured_z = current_position[Z_AXIS];
|
2177
|
2180
|
|
2178
|
|
- #if DISABLED(Z_PROBE_SLED) && DISABLED(Z_PROBE_ALLEN_KEY)
|
2179
|
|
- if (probe_action & ProbeStow) {
|
2180
|
|
- #if ENABLED(DEBUG_LEVELING_FEATURE)
|
2181
|
|
- if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("> ProbeStow (stow_z_probe will do Z Raise)");
|
2182
|
|
- #endif
|
2183
|
|
- stow_z_probe();
|
2184
|
|
- }
|
2185
|
|
- #endif
|
|
2181
|
+ if (probe_action & ProbeStow) {
|
|
2182
|
+ #if ENABLED(DEBUG_LEVELING_FEATURE)
|
|
2183
|
+ if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("> ProbeStow (stow_z_probe will do Z Raise)");
|
|
2184
|
+ #endif
|
|
2185
|
+ stow_z_probe();
|
|
2186
|
+ }
|
2186
|
2187
|
|
2187
|
2188
|
if (verbose_level > 2) {
|
2188
|
2189
|
SERIAL_PROTOCOLPGM("Bed X: ");
|