|
@@ -508,7 +508,13 @@ static uint8_t target_extruder;
|
508
|
508
|
#endif
|
509
|
509
|
|
510
|
510
|
#if ENABLED(Z_DUAL_ENDSTOPS)
|
511
|
|
- float z_endstop_adj = 0;
|
|
511
|
+ float z_endstop_adj =
|
|
512
|
+ #ifdef Z_DUAL_ENDSTOPS_ADJUSTMENT
|
|
513
|
+ Z_DUAL_ENDSTOPS_ADJUSTMENT
|
|
514
|
+ #else
|
|
515
|
+ 0
|
|
516
|
+ #endif
|
|
517
|
+ ;
|
512
|
518
|
#endif
|
513
|
519
|
|
514
|
520
|
// Extruder offsets
|
|
@@ -2281,7 +2287,7 @@ static void clean_up_after_endstop_or_probe_move() {
|
2281
|
2287
|
if (enable) planner.unapply_leveling(current_position);
|
2282
|
2288
|
}
|
2283
|
2289
|
|
2284
|
|
- #elif HAS_ABL
|
|
2290
|
+ #elif HAS_ABL && !ENABLED(AUTO_BED_LEVELING_UBL)
|
2285
|
2291
|
|
2286
|
2292
|
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
2287
|
2293
|
const bool can_change = (!enable || (bilinear_grid_spacing[0] && bilinear_grid_spacing[1]));
|
|
@@ -2302,7 +2308,11 @@ static void clean_up_after_endstop_or_probe_move() {
|
2302
|
2308
|
else
|
2303
|
2309
|
planner.unapply_leveling(current_position);
|
2304
|
2310
|
}
|
2305
|
|
-
|
|
2311
|
+ #elif ENABLED(AUTO_BED_LEVELING_UBL)
|
|
2312
|
+ if (blm.state.EEPROM_storage_slot == 0) {
|
|
2313
|
+ blm.state.active = enable;
|
|
2314
|
+ blm.store_state();
|
|
2315
|
+ }
|
2306
|
2316
|
#endif
|
2307
|
2317
|
}
|
2308
|
2318
|
|
|
@@ -7139,6 +7149,8 @@ void quickstop_stepper() {
|
7139
|
7149
|
const bool new_status =
|
7140
|
7150
|
#if ENABLED(MESH_BED_LEVELING)
|
7141
|
7151
|
mbl.active()
|
|
7152
|
+ #elif ENABLED(AUTO_BED_LEVELING_UBL)
|
|
7153
|
+ blm.state.active
|
7142
|
7154
|
#else
|
7143
|
7155
|
planner.abl_enabled
|
7144
|
7156
|
#endif
|