|
@@ -207,6 +207,7 @@ void GcodeSuite::G28(const bool always_home_all) {
|
207
|
207
|
|
208
|
208
|
// Cancel the active G29 session
|
209
|
209
|
#if ENABLED(PROBE_MANUALLY)
|
|
210
|
+ extern bool g29_in_progress;
|
210
|
211
|
g29_in_progress = false;
|
211
|
212
|
#endif
|
212
|
213
|
|
|
@@ -397,7 +398,7 @@ void GcodeSuite::G28(const bool always_home_all) {
|
397
|
398
|
do_blocking_move_to_z(delta_clip_start_height);
|
398
|
399
|
#endif
|
399
|
400
|
|
400
|
|
- #if ENABLED(RESTORE_LEVELING_AFTER_G28)
|
|
401
|
+ #if HAS_LEVELING && ENABLED(RESTORE_LEVELING_AFTER_G28)
|
401
|
402
|
set_bed_leveling_enabled(leveling_was_active);
|
402
|
403
|
#endif
|
403
|
404
|
|