Move duplication_e_mask

This commit is contained in:
Scott Lahteine 2021-01-03 22:23:13 -06:00
parent ca47dffa35
commit ba2cadb479

View File

@ -407,9 +407,6 @@ FORCE_INLINE void set_all_unhomed() { axis_homed = axis_tr
*/
#if HAS_DUPLICATION_MODE
extern bool extruder_duplication_enabled; // Used in Dual X mode 2
#if ENABLED(MULTI_NOZZLE_DUPLICATION)
extern uint8_t duplication_e_mask;
#endif
#endif
/**
@ -446,6 +443,7 @@ FORCE_INLINE void set_all_unhomed() { axis_homed = axis_tr
#else
#if ENABLED(MULTI_NOZZLE_DUPLICATION)
extern uint8_t duplication_e_mask;
enum DualXMode : char { DXC_DUPLICATION_MODE = 2 };
FORCE_INLINE void set_duplication_enabled(const bool dupe) { extruder_duplication_enabled = dupe; }
#endif