Declare extruder_duplication_enabled in Marlin.h
This commit is contained in:
parent
82c2d308dc
commit
516e79bbda
3 changed files with 4 additions and 5 deletions
|
|
@ -193,7 +193,6 @@
|
|||
#define NORM_E_DIR() _NORM_E_DIR()
|
||||
#define REV_E_DIR() _REV_E_DIR()
|
||||
#else
|
||||
extern bool extruder_duplication_enabled;
|
||||
#define E_STEP_WRITE(v) {if(extruder_duplication_enabled){E0_STEP_WRITE(v);E1_STEP_WRITE(v);}else _E_STEP_WRITE(v);}
|
||||
#define NORM_E_DIR() {if(extruder_duplication_enabled){E0_DIR_WRITE(!INVERT_E0_DIR);E1_DIR_WRITE(!INVERT_E1_DIR);}else _NORM_E_DIR();}
|
||||
#define REV_E_DIR() {if(extruder_duplication_enabled){E0_DIR_WRITE(INVERT_E0_DIR);E1_DIR_WRITE(INVERT_E1_DIR);}else _REV_E_DIR();}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue