|
@@ -2327,6 +2327,17 @@ static void homeaxis(AxisEnum axis) {
|
2327
|
2327
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
2328
|
2328
|
if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("> SERVO_ENDSTOPS > Stow with servo.move()");
|
2329
|
2329
|
#endif
|
|
2330
|
+ // Raise the servo probe before stow outside ABL context... This is a workaround that allows the use of a Servo Probe without ABL until a more global probe handling is implemented.
|
|
2331
|
+ #if DISABLED(AUTO_BED_LEVELING_FEATURE)
|
|
2332
|
+ #ifndef Z_RAISE_AFTER_PROBING
|
|
2333
|
+ #define Z_RAISE_AFTER_PROBING 15 // default height
|
|
2334
|
+ #endif
|
|
2335
|
+ current_position[Z_AXIS] = Z_RAISE_AFTER_PROBING;
|
|
2336
|
+ feedrate = homing_feedrate[Z_AXIS];
|
|
2337
|
+ line_to_current_position();
|
|
2338
|
+ stepper.synchronize();
|
|
2339
|
+ #endif
|
|
2340
|
+
|
2330
|
2341
|
servo[servo_endstop_id[axis]].move(servo_endstop_angle[axis][1]);
|
2331
|
2342
|
if (_Z_PROBE_SUBTEST) endstops.enable_z_probe(false);
|
2332
|
2343
|
}
|