Bläddra i källkod

2.0.x - Idex match119 (#11556)

* Update ubl_G29.cpp

* Update ultralcd.cpp
InsanityAutomation 6 år sedan
förälder
incheckning
c2553f9888
2 ändrade filer med 3 tillägg och 3 borttagningar
  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 Visa fil

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

+ 2
- 2
Marlin/src/lcd/ultralcd.cpp Visa fil

2937
 
2937
 
2938
         #if EXTRUDERS > 1
2938
         #if EXTRUDERS > 1
2939
           const int8_t old_extruder = active_extruder;
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
         #endif
2941
         #endif
2942
 
2942
 
2943
         // Set movement on a single axis
2943
         // Set movement on a single axis
2963
 
2963
 
2964
       #else
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
         manual_move_axis = (int8_t)NO_AXIS;
2967
         manual_move_axis = (int8_t)NO_AXIS;
2968
 
2968
 
2969
       #endif
2969
       #endif

Laddar…
Avbryt
Spara