소스 검색

M114 - wait for move completion before reporting position

Bob-the-Kuhn 8 년 전
부모
커밋
34ff0c3439
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp 파일 보기

6034
 /**
6034
 /**
6035
  * M114: Output current position to serial port
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
  * M115: Capabilities string
6040
  * M115: Capabilities string

Loading…
취소
저장