|
116 | 116 | constexpr float arm[] = AXIS_RELATIVE_MODES;
|
117 | 117 | static_assert(COUNT(arm) == LOGICAL_AXES, "AXIS_RELATIVE_MODES must contain " _LOGICAL_AXES_STR "elements.");
|
118 | 118 |
|
119 |
| -// Consolidate TMC26X, validate migration (#24373) |
120 |
| -#define _ISMAX_1(A) defined(A##_MAX_CURRENT) |
121 |
| -#define _ISSNS_1(A) defined(A##_SENSE_RESISTOR) |
122 |
| -#if DO(ISMAX,||,ALL_AXIS_NAMES) |
123 |
| - #error "*_MAX_CURRENT is now set with *_CURRENT." |
124 |
| -#elif DO(ISSNS,||,ALL_AXIS_NAMES) |
125 |
| - #error "*_SENSE_RESISTOR (in Milli-Ohms) is now set with *_RSENSE (in Ohms), so you must divide values by 1000." |
126 |
| -#endif |
127 |
| -#undef _ISMAX_1 |
128 |
| -#undef _ISSNS_1 |
129 |
| - |
130 | 119 | /**
|
131 | 120 | * RADDS is forbidden for non-DUE boards, for now.
|
132 | 121 | */
|
@@ -160,16 +149,8 @@ static_assert(COUNT(arm) == LOGICAL_AXES, "AXIS_RELATIVE_MODES must contain " _L
|
160 | 149 | * Probe temp compensation requirements
|
161 | 150 | */
|
162 | 151 | #if HAS_PTC
|
163 |
| - #if TEMP_SENSOR_PROBE && TEMP_SENSOR_BED |
164 |
| - #if defined(PTC_PARK_POS_X) || defined(PTC_PARK_POS_Y) || defined(PTC_PARK_POS_Z) |
165 |
| - #error "PTC_PARK_POS_[XYZ] is now PTC_PARK_POS (array)." |
166 |
| - #elif !defined(PTC_PARK_POS) |
167 |
| - #error "PTC_PARK_POS is required for Probe Temperature Compensation." |
168 |
| - #elif defined(PTC_PROBE_POS_X) || defined(PTC_PROBE_POS_Y) |
169 |
| - #error "PTC_PROBE_POS_[XY] is now PTC_PROBE_POS (array)." |
170 |
| - #elif !defined(PTC_PROBE_POS) |
171 |
| - #error "PTC_PROBE_POS is required for Probe Temperature Compensation." |
172 |
| - #endif |
| 152 | + #if TEMP_SENSOR_PROBE && TEMP_SENSOR_BED && !(defined(PTC_PARK_POS) && defined(PTC_PROBE_POS)) |
| 153 | + #error "PTC_PARK_POS and PTC_PROBE_POS are required for Probe Temperature Compensation." |
173 | 154 | #endif
|
174 | 155 |
|
175 | 156 | #if ENABLED(PTC_PROBE)
|
@@ -611,23 +592,6 @@ static_assert(COUNT(arm) == LOGICAL_AXES, "AXIS_RELATIVE_MODES must contain " _L
|
611 | 592 | #error "INDIVIDUAL_AXIS_HOMING_MENU is incompatible with DELTA kinematics."
|
612 | 593 | #endif
|
613 | 594 |
|
614 |
| -/** |
615 |
| - * Sanity checking for all Průša MMU |
616 |
| - */ |
617 |
| -#ifdef SNMM |
618 |
| - #error "SNMM is obsolete. Define MMU_MODEL as PRUSA_MMU1 instead." |
619 |
| -#elif ENABLED(MK2_MULTIPLEXER) |
620 |
| - #error "MK2_MULTIPLEXER is obsolete. Define MMU_MODEL as PRUSA_MMU1 instead." |
621 |
| -#elif ENABLED(PRUSA_MMU2) |
622 |
| - #error "PRUSA_MMU2 is obsolete. Define MMU_MODEL as PRUSA_MMU2 instead." |
623 |
| -#elif ENABLED(PRUSA_MMU2_S_MODE) |
624 |
| - #error "PRUSA_MMU2_S_MODE is obsolete. Define MMU_MODEL as PRUSA_MMU2S instead." |
625 |
| -#elif ENABLED(SMUFF_EMU_MMU2) |
626 |
| - #error "SMUFF_EMU_MMU2 is obsolete. Define MMU_MODEL as EXTENDABLE_EMU_MMU2 instead." |
627 |
| -#elif ENABLED(SMUFF_EMU_MMU2S) |
628 |
| - #error "SMUFF_EMU_MMU2S is obsolete. Define MMU_MODEL as EXTENDABLE_EMU_MMU2S instead." |
629 |
| -#endif |
630 |
| - |
631 | 595 | /**
|
632 | 596 | * Multi-Material-Unit 2 / EXTENDABLE_EMU_MMU2 requirements
|
633 | 597 | */
|
|
0 commit comments