Browse Source

Fix RESTORE_LEVELING_AFTER_G28 (#20471)

JoAnn Manges 4 years ago
parent
commit
1be16e3d8c
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/gcode/calibrate/G28.cpp

+ 1
- 1
Marlin/src/gcode/calibrate/G28.cpp View File

435
     do_blocking_move_to_z(delta_clip_start_height);
435
     do_blocking_move_to_z(delta_clip_start_height);
436
   #endif
436
   #endif
437
 
437
 
438
-  TERN_(RESTORE_LEVELING_AFTER_G28, set_bed_leveling_enabled(leveling_was_active));
438
+  TERN_(RESTORE_LEVELING_AFTER_G28, set_bed_leveling_enabled(leveling_restore_state));
439
 
439
 
440
   restore_feedrate_and_scaling();
440
   restore_feedrate_and_scaling();
441
 
441
 

Loading…
Cancel
Save