parent
8299ac121d
commit
1ea222e6fc
1 changed files with 12 additions and 8 deletions
|
@ -390,12 +390,6 @@
|
||||||
|
|
||||||
#define HAS_DEBUG_MENU (ENABLED(ULTIPANEL) && ENABLED(LCD_PROGRESS_BAR_TEST))
|
#define HAS_DEBUG_MENU (ENABLED(ULTIPANEL) && ENABLED(LCD_PROGRESS_BAR_TEST))
|
||||||
|
|
||||||
// MK2 Multiplexer forces SINGLENOZZLE and kills DISABLE_INACTIVE_EXTRUDER
|
|
||||||
#if ENABLED(MK2_MULTIPLEXER)
|
|
||||||
#define SINGLENOZZLE
|
|
||||||
#undef DISABLE_INACTIVE_EXTRUDER
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extruders have some combination of stepper motors and hotends
|
* Extruders have some combination of stepper motors and hotends
|
||||||
* so we separate these concepts into the defines:
|
* so we separate these concepts into the defines:
|
||||||
|
@ -406,8 +400,6 @@
|
||||||
* E_MANUAL - Number of E steppers for LCD move options
|
* E_MANUAL - Number of E steppers for LCD move options
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#define HOTEND_LOOP() for (int8_t e = 0; e < HOTENDS; e++)
|
|
||||||
|
|
||||||
#if ENABLED(SWITCHING_EXTRUDER) // One stepper for every two EXTRUDERS
|
#if ENABLED(SWITCHING_EXTRUDER) // One stepper for every two EXTRUDERS
|
||||||
#if EXTRUDERS > 4
|
#if EXTRUDERS > 4
|
||||||
#define E_STEPPERS 3
|
#define E_STEPPERS 3
|
||||||
|
@ -428,6 +420,16 @@
|
||||||
#define E_MANUAL EXTRUDERS
|
#define E_MANUAL EXTRUDERS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// No inactive extruders with MK2_MULTIPLEXER or SWITCHING_NOZZLE
|
||||||
|
#if ENABLED(MK2_MULTIPLEXER) || ENABLED(SWITCHING_NOZZLE)
|
||||||
|
#undef DISABLE_INACTIVE_EXTRUDER
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// MK2 Multiplexer forces SINGLENOZZLE
|
||||||
|
#if ENABLED(MK2_MULTIPLEXER)
|
||||||
|
#define SINGLENOZZLE
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ENABLED(SINGLENOZZLE) || ENABLED(MIXING_EXTRUDER) // One hotend, one thermistor, no XY offset
|
#if ENABLED(SINGLENOZZLE) || ENABLED(MIXING_EXTRUDER) // One hotend, one thermistor, no XY offset
|
||||||
#undef HOTENDS
|
#undef HOTENDS
|
||||||
#define HOTENDS 1
|
#define HOTENDS 1
|
||||||
|
@ -440,6 +442,8 @@
|
||||||
#define HOTENDS EXTRUDERS
|
#define HOTENDS EXTRUDERS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define HOTEND_LOOP() for (int8_t e = 0; e < HOTENDS; e++)
|
||||||
|
|
||||||
#define DO_SWITCH_EXTRUDER (ENABLED(SWITCHING_EXTRUDER) && (DISABLED(SWITCHING_NOZZLE) || SWITCHING_EXTRUDER_SERVO_NR != SWITCHING_NOZZLE_SERVO_NR))
|
#define DO_SWITCH_EXTRUDER (ENABLED(SWITCHING_EXTRUDER) && (DISABLED(SWITCHING_NOZZLE) || SWITCHING_EXTRUDER_SERVO_NR != SWITCHING_NOZZLE_SERVO_NR))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Reference in a new issue