Fix filament runout and mirror mode
This commit is contained in:
@@ -279,7 +279,10 @@ int8_t Stepper::count_direction[NUM_AXIS] = { 0, 0, 0, 0 };
|
||||
#define X_APPLY_DIR(v,ALWAYS) \
|
||||
if (extruder_duplication_enabled || ALWAYS) { \
|
||||
X_DIR_WRITE(v); \
|
||||
X2_DIR_WRITE(v); \
|
||||
if (scaled_duplication_mode) \
|
||||
X2_DIR_WRITE(!v); \
|
||||
else \
|
||||
X2_DIR_WRITE(v); \
|
||||
} \
|
||||
else { \
|
||||
if (movement_extruder()) X2_DIR_WRITE(v); else X_DIR_WRITE(v); \
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
#define FAN1_PIN 12
|
||||
|
||||
#define NUM_RUNOUT_SENSORS 2
|
||||
#define FIL_RUNOUT_PIN 23
|
||||
#define FIL_RUNOUT_PIN 22
|
||||
#define FIL_RUNOUT2_PIN 21
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user