Browse Source

Set XYZ to absolute and E to relative

Alex Voinea 5 năm trước cách đây
mục cha
commit
4422fc29f8
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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()