Pārlūkot izejas kodu

Eliminate multiple settings to extruder_duplication_enabled in G28

If the IDEX mode was previously set (via GCode or the LCD Panel) to a duplication mode...   It was lost after a G28 due to this redundant setting of 'extruder_duplication_enabled'. 

It is very important to the various use cases of IDEX machines that extruder_duplication_enabled is preserved across a G28.   The reason is this allows a person to use the LCD Panel to put the machine into a duplication mode, and then send a 'normal' part file to the printer and get two parts out of the process.
Roxy-3D 4 gadus atpakaļ
vecāks
revīzija
f19fa64e98
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. 0
    2
      Marlin/src/gcode/calibrate/G28.cpp

+ 0
- 2
Marlin/src/gcode/calibrate/G28.cpp Parādīt failu

@@ -461,8 +461,6 @@ void GcodeSuite::G28(const bool always_home_all) {
461 461
       delayed_move_time = 0;
462 462
       active_extruder_parked = true;
463 463
       extruder_duplication_enabled = IDEX_saved_duplication_state;
464
-      extruder_duplication_enabled = false;
465
-
466 464
       dual_x_carriage_mode         = IDEX_saved_mode;
467 465
       stepper.set_directions();
468 466
 

Notiek ielāde…
Atcelt
Saglabāt