0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-17 23:18:34 +00:00

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