M114 - wait for move completion before reporting position

This commit is contained in:
Bob-the-Kuhn 2017-03-16 15:10:45 -05:00
parent 48925b7298
commit 34ff0c3439

View File

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