Fix G28 resetting DUAL_NOZZLE_DUPLICATION_MODE (#11605)

There's no reason for G28 to reset DUAL_NOZZLE_DUPLICATION_MODE, because it only affects the E stepper, unlike DUAL_X_CARRIAGE which affects the X steppers as well.
This commit is contained in:
Colin Gilgenbach 2018-08-21 22:42:55 -06:00 committed by Scott Lahteine
parent f0dbe61692
commit 593d5375ea

View file

@ -229,7 +229,7 @@ void GcodeSuite::G28(const bool always_home_all) {
tool_change(0, 0, true);
#endif
#if ENABLED(DUAL_X_CARRIAGE) || ENABLED(DUAL_NOZZLE_DUPLICATION_MODE)
#if ENABLED(DUAL_X_CARRIAGE)
extruder_duplication_enabled = false;
#endif