Merge pull request #6039 from Bob-the-Kuhn/M114-sync-with-stepper

M114 - wait for move completion before reporting position
This commit is contained in:
Scott Lahteine 2017-03-17 05:22:46 -05:00 committed by GitHub
commit 4e53124681

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