Browse Source

2.0.x - Idex match119 (#11556)

* Update ubl_G29.cpp

* Update ultralcd.cpp
InsanityAutomation 6 years ago
parent
commit
c2553f9888
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp
  2. 2
    2
      Marlin/src/lcd/ultralcd.cpp

+ 1
- 1
Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp View File

@@ -304,10 +304,10 @@
304 304
 
305 305
     // Check for commands that require the printer to be homed
306 306
     if (may_move) {
307
+      if (axis_unhomed_error()) gcode.home_all_axes();
307 308
       #if ENABLED(DUAL_X_CARRIAGE)
308 309
         if (active_extruder != 0) tool_change(0);
309 310
       #endif
310
-      if (axis_unhomed_error()) gcode.home_all_axes();
311 311
     }
312 312
 
313 313
     // Invalidate Mesh Points. This command is a little bit asymmetrical because

+ 2
- 2
Marlin/src/lcd/ultralcd.cpp View File

@@ -2937,7 +2937,7 @@ void lcd_quick_feedback(const bool clear_buttons) {
2937 2937
 
2938 2938
         #if EXTRUDERS > 1
2939 2939
           const int8_t old_extruder = active_extruder;
2940
-          active_extruder = manual_move_e_index;
2940
+          if (manual_move_axis == E_AXIS) active_extruder = manual_move_e_index;
2941 2941
         #endif
2942 2942
 
2943 2943
         // Set movement on a single axis
@@ -2963,7 +2963,7 @@ void lcd_quick_feedback(const bool clear_buttons) {
2963 2963
 
2964 2964
       #else
2965 2965
 
2966
-        planner.buffer_line_kinematic(current_position, MMM_TO_MMS(manual_feedrate_mm_m[manual_move_axis]), manual_move_e_index);
2966
+        planner.buffer_line_kinematic(current_position, MMM_TO_MMS(manual_feedrate_mm_m[manual_move_axis]), manual_move_axis == E_AXIS ? manual_move_e_index : active_extruder);
2967 2967
         manual_move_axis = (int8_t)NO_AXIS;
2968 2968
 
2969 2969
       #endif

Loading…
Cancel
Save