Explorar el Código

M114 - wait for move completion before reporting position

Bob-the-Kuhn hace 8 años
padre
commit
34ff0c3439
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp Ver fichero

@@ -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…
Cancelar
Guardar