From 34ff0c3439e96cb8e67024179ff75853d15c0de5 Mon Sep 17 00:00:00 2001 From: Bob-the-Kuhn Date: Thu, 16 Mar 2017 15:10:45 -0500 Subject: [PATCH] M114 - wait for move completion before reporting position --- Marlin/Marlin_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 9e711ab92..7a09b870e 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -6034,7 +6034,7 @@ static void report_current_position() { /** * M114: Output current position to serial port */ -inline void gcode_M114() { report_current_position(); } +inline void gcode_M114() { stepper.synchronize(); report_current_position(); } /** * M115: Capabilities string