From 78557076ff9a22feafd8677b8eb07a266d06e941 Mon Sep 17 00:00:00 2001
From: Scott Lahteine <github@thinkyhead.com>
Date: Sat, 22 Jun 2019 17:22:09 -0500
Subject: [PATCH] Add planner.synchronize to UBL G29

---
 Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp b/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp
index ca06e66704..7a1eb112fc 100644
--- a/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp
+++ b/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp
@@ -313,6 +313,7 @@
 
     // Check for commands that require the printer to be homed
     if (may_move) {
+      planner.synchronize();
       if (axis_unhomed_error()) gcode.home_all_axes();
       #if ENABLED(DUAL_X_CARRIAGE)
         if (active_extruder != 0) tool_change(0);
-- 
GitLab