소스 검색

Set XYZ to absolute and E to relative

Alex Voinea 5 년 전
부모
커밋
4422fc29f8
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      Firmware/ultralcd.cpp

+ 5 - 0
Firmware/ultralcd.cpp

@@ -7370,6 +7370,11 @@ void lcd_print_stop()
     custom_message_type = CustomMsg::Status;
 
     planner_abort_hard(); //needs to be done since plan_buffer_line resets waiting_inside_plan_buffer_line_print_aborted to false. Also copies current to destination.
+    
+    axis_relative_modes[X_AXIS] = false;
+    axis_relative_modes[Y_AXIS] = false;
+    axis_relative_modes[Z_AXIS] = false;
+    axis_relative_modes[E_AXIS] = true;
 }
 
 void lcd_sdcard_stop()