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:
commit
4e53124681
1 changed files with 1 additions and 1 deletions
|
@ -6034,7 +6034,7 @@ static void report_current_position() {
|
||||||
/**
|
/**
|
||||||
* M114: Output current position to serial port
|
* 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
|
* M115: Capabilities string
|
||||||
|
|
Reference in a new issue