Conditionals and Sanity Check for SINGLENOZZLE
This commit is contained in:
parent
69abfef82e
commit
92ac133f2b
|
@ -539,6 +539,16 @@
|
||||||
|
|
||||||
#define ARRAY_BY_EXTRUDERS1(v1) ARRAY_BY_EXTRUDERS(v1, v1, v1, v1)
|
#define ARRAY_BY_EXTRUDERS1(v1) ARRAY_BY_EXTRUDERS(v1, v1, v1, v1)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* With SINGLENOZZLE all "extruders" are in the same place
|
||||||
|
*/
|
||||||
|
#if ENABLED(SINGLENOZZLE)
|
||||||
|
#undef EXTRUDER_OFFSET_X
|
||||||
|
#undef EXTRUDER_OFFSET_Y
|
||||||
|
#define EXTRUDER_OFFSET_X { 0 }
|
||||||
|
#define EXTRUDER_OFFSET_Y { 0 }
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_DUAL_ENDSTOPS endstop reassignment
|
* Z_DUAL_ENDSTOPS endstop reassignment
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -149,7 +149,9 @@
|
||||||
#error "EXTRUDERS must be 1 with Z_DUAL_STEPPER_DRIVERS."
|
#error "EXTRUDERS must be 1 with Z_DUAL_STEPPER_DRIVERS."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // EXTRUDERS > 1
|
#elif ENABLED(SINGLENOZZLE)
|
||||||
|
#error "SINGLENOZZLE requires 2 or more EXTRUDERS."
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Limited number of servos
|
* Limited number of servos
|
||||||
|
|
Loading…
Reference in a new issue