Don't throw away the bed level matrix on G28

This commit is contained in:
Scott Lahteine 2016-12-14 00:41:35 -08:00
parent 8f0f225d10
commit d04258753b

View File

@ -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