|
@@ -2424,7 +2424,12 @@ static void clean_up_after_endstop_or_probe_move() {
|
2424
|
2424
|
if (enable && mbl.has_mesh()) planner.unapply_leveling(current_position);
|
2425
|
2425
|
}
|
2426
|
2426
|
|
2427
|
|
- #elif HAS_ABL && !ENABLED(AUTO_BED_LEVELING_UBL)
|
|
2427
|
+ #elif ENABLED(AUTO_BED_LEVELING_UBL)
|
|
2428
|
+
|
|
2429
|
+ ubl.state.active = enable;
|
|
2430
|
+ //set_current_from_steppers_for_axis(Z_AXIS);
|
|
2431
|
+
|
|
2432
|
+ #elif HAS_ABL
|
2428
|
2433
|
|
2429
|
2434
|
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
2430
|
2435
|
const bool can_change = (!enable || (bilinear_grid_spacing[0] && bilinear_grid_spacing[1]));
|
|
@@ -2452,9 +2457,6 @@ static void clean_up_after_endstop_or_probe_move() {
|
2452
|
2457
|
else
|
2453
|
2458
|
planner.unapply_leveling(current_position);
|
2454
|
2459
|
}
|
2455
|
|
- #elif ENABLED(AUTO_BED_LEVELING_UBL)
|
2456
|
|
- ubl.state.active = enable;
|
2457
|
|
- //set_current_from_steppers_for_axis(Z_AXIS);
|
2458
|
2460
|
#endif
|
2459
|
2461
|
}
|
2460
|
2462
|
|