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
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user