Skip to content

Commit

Permalink
Update G28.cpp
Browse files Browse the repository at this point in the history
Fix #76 and maybe #39 (need to be confirmed)
Fix #33 and #104
  • Loading branch information
murdock62 authored Apr 18, 2021
1 parent 629d254 commit db78fdc
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Marlin/src/gcode/calibrate/G28.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,8 @@ void GcodeSuite::G28() {
#if DISABLED(DELTA) || ENABLED(DELTA_HOME_TO_SAFE_ZONE)
const uint8_t old_tool_index = active_extruder;
#endif
#if ENABLED(DUAL_X_CARRIAGE) // Used in tenlog config
tool_change(0, false); // Used in tenlog config
#else // Used in tenlog config
tool_change(0, true);
#endif // Used in tenlog config

tool_change(0, false); // 18/04/2021 Murdock Bug Fix #76 ?#39
#endif

TERN_(HAS_DUPLICATION_MODE, extruder_duplication_enabled = false);
Expand Down Expand Up @@ -421,7 +418,7 @@ void GcodeSuite::G28() {
raised_parked_position = current_position;
delayed_move_time = 0;
active_extruder_parked = true;
extruder_duplication_enabled = IDEX_saved_duplication_state;
//extruder_duplication_enabled = IDEX_saved_duplication_state; // 18/04/2021 Murdock Bug Fix #104 & #33.
dual_x_carriage_mode = IDEX_saved_mode;
stepper.set_directions();

Expand Down

0 comments on commit db78fdc

Please sign in to comment.