Skip to content

Commit

Permalink
Move duplication_e_mask
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jan 4, 2021
1 parent ca47dff commit ba2cadb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Marlin/src/module/motion.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

/**
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ba2cadb

Please sign in to comment.