Преглед изворни кода

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

M114 - wait for move completion before reporting position
Scott Lahteine пре 8 година
родитељ
комит
4e53124681
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp Прегледај датотеку

@@ -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…
Откажи
Сачувај