Don't throw away the bed level matrix on G28

2.0.x
Scott Lahteine 8 years ago
parent 8f0f225d10
commit d04258753b

@ -3430,9 +3430,9 @@ inline void gcode_G28() {
// Wait for planner moves to finish! // Wait for planner moves to finish!
stepper.synchronize(); stepper.synchronize();
// For auto bed leveling, clear the level matrix // Disable the leveling matrix before homing
#if HAS_ABL #if PLANNER_LEVELING
reset_bed_level(); set_bed_leveling_enabled(false);
#endif #endif
// Always home with tool 0 active // Always home with tool 0 active

Loading…
Cancel
Save