Browse Source

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

M114 - wait for move completion before reporting position
Scott Lahteine 8 years ago
parent
commit
4e53124681
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -6034,7 +6034,7 @@ static void report_current_position() {
6034 6034
 /**
6035 6035
  * M114: Output current position to serial port
6036 6036
  */
6037
-inline void gcode_M114() { report_current_position(); }
6037
+inline void gcode_M114() { stepper.synchronize(); report_current_position(); }
6038 6038
 
6039 6039
 /**
6040 6040
  * M115: Capabilities string

Loading…
Cancel
Save