|
@@ -2193,68 +2193,12 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
2193
|
2193
|
#elif !PIN_EXISTS(TEMP_7) && !TEMP_SENSOR_7_IS_DUMMY
|
2194
|
2194
|
#error "TEMP_7_PIN not defined for this board."
|
2195
|
2195
|
#endif
|
2196
|
|
- #elif TEMP_SENSOR_7 != 0
|
2197
|
|
- #error "TEMP_SENSOR_7 shouldn't be set with only 7 HOTENDS."
|
2198
|
|
- #endif
|
2199
|
|
- #elif TEMP_SENSOR_6 != 0
|
2200
|
|
- #error "TEMP_SENSOR_6 shouldn't be set with only 6 HOTENDS."
|
2201
|
|
- #elif TEMP_SENSOR_7 != 0
|
2202
|
|
- #error "TEMP_SENSOR_7 shouldn't be set with only 6 HOTENDS."
|
2203
|
|
- #endif
|
2204
|
|
- #elif TEMP_SENSOR_5 != 0
|
2205
|
|
- #error "TEMP_SENSOR_5 shouldn't be set with only 5 HOTENDS."
|
2206
|
|
- #elif TEMP_SENSOR_6 != 0
|
2207
|
|
- #error "TEMP_SENSOR_6 shouldn't be set with only 5 HOTENDS."
|
2208
|
|
- #elif TEMP_SENSOR_7 != 0
|
2209
|
|
- #error "TEMP_SENSOR_7 shouldn't be set with only 5 HOTENDS."
|
2210
|
|
- #endif
|
2211
|
|
- #elif TEMP_SENSOR_4 != 0
|
2212
|
|
- #error "TEMP_SENSOR_4 shouldn't be set with only 4 HOTENDS."
|
2213
|
|
- #elif TEMP_SENSOR_5 != 0
|
2214
|
|
- #error "TEMP_SENSOR_5 shouldn't be set with only 4 HOTENDS."
|
2215
|
|
- #elif TEMP_SENSOR_6 != 0
|
2216
|
|
- #error "TEMP_SENSOR_6 shouldn't be set with only 4 HOTENDS."
|
2217
|
|
- #elif TEMP_SENSOR_7 != 0
|
2218
|
|
- #error "TEMP_SENSOR_7 shouldn't be set with only 4 HOTENDS."
|
2219
|
|
- #endif
|
2220
|
|
- #elif TEMP_SENSOR_3 != 0
|
2221
|
|
- #error "TEMP_SENSOR_3 shouldn't be set with only 3 HOTENDS."
|
2222
|
|
- #elif TEMP_SENSOR_4 != 0
|
2223
|
|
- #error "TEMP_SENSOR_4 shouldn't be set with only 3 HOTENDS."
|
2224
|
|
- #elif TEMP_SENSOR_5 != 0
|
2225
|
|
- #error "TEMP_SENSOR_5 shouldn't be set with only 3 HOTENDS."
|
2226
|
|
- #elif TEMP_SENSOR_6 != 0
|
2227
|
|
- #error "TEMP_SENSOR_6 shouldn't be set with only 3 HOTENDS."
|
2228
|
|
- #elif TEMP_SENSOR_7 != 0
|
2229
|
|
- #error "TEMP_SENSOR_7 shouldn't be set with only 3 HOTENDS."
|
2230
|
|
- #endif
|
2231
|
|
- #elif TEMP_SENSOR_2 != 0
|
2232
|
|
- #error "TEMP_SENSOR_2 shouldn't be set with only 2 HOTENDS."
|
2233
|
|
- #elif TEMP_SENSOR_3 != 0
|
2234
|
|
- #error "TEMP_SENSOR_3 shouldn't be set with only 2 HOTENDS."
|
2235
|
|
- #elif TEMP_SENSOR_4 != 0
|
2236
|
|
- #error "TEMP_SENSOR_4 shouldn't be set with only 2 HOTENDS."
|
2237
|
|
- #elif TEMP_SENSOR_5 != 0
|
2238
|
|
- #error "TEMP_SENSOR_5 shouldn't be set with only 2 HOTENDS."
|
2239
|
|
- #elif TEMP_SENSOR_6 != 0
|
2240
|
|
- #error "TEMP_SENSOR_6 shouldn't be set with only 2 HOTENDS."
|
2241
|
|
- #elif TEMP_SENSOR_7 != 0
|
2242
|
|
- #error "TEMP_SENSOR_7 shouldn't be set with only 2 HOTENDS."
|
2243
|
|
- #endif
|
2244
|
|
-#elif TEMP_SENSOR_1 != 0
|
2245
|
|
- #error "TEMP_SENSOR_1 shouldn't be set with only 1 HOTEND."
|
2246
|
|
-#elif TEMP_SENSOR_2 != 0
|
2247
|
|
- #error "TEMP_SENSOR_2 shouldn't be set with only 1 HOTEND."
|
2248
|
|
-#elif TEMP_SENSOR_3 != 0
|
2249
|
|
- #error "TEMP_SENSOR_3 shouldn't be set with only 1 HOTEND."
|
2250
|
|
-#elif TEMP_SENSOR_4 != 0
|
2251
|
|
- #error "TEMP_SENSOR_4 shouldn't be set with only 1 HOTEND."
|
2252
|
|
-#elif TEMP_SENSOR_5 != 0
|
2253
|
|
- #error "TEMP_SENSOR_5 shouldn't be set with only 1 HOTEND."
|
2254
|
|
-#elif TEMP_SENSOR_6 != 0
|
2255
|
|
- #error "TEMP_SENSOR_6 shouldn't be set with only 1 HOTEND."
|
2256
|
|
-#elif TEMP_SENSOR_7 != 0
|
2257
|
|
- #error "TEMP_SENSOR_7 shouldn't be set with only 1 HOTEND."
|
|
2196
|
+ #endif // HOTENDS > 7
|
|
2197
|
+ #endif // HOTENDS > 6
|
|
2198
|
+ #endif // HOTENDS > 5
|
|
2199
|
+ #endif // HOTENDS > 4
|
|
2200
|
+ #endif // HOTENDS > 3
|
|
2201
|
+ #endif // HOTENDS > 2
|
2258
|
2202
|
#endif // HAS_MULTI_HOTEND
|
2259
|
2203
|
|
2260
|
2204
|
/**
|
|
@@ -3292,7 +3236,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
3292
|
3236
|
#if HAS_MOTOR_CURRENT_I2C
|
3293
|
3237
|
#if BOTH(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
3294
|
3238
|
#error "Enable only one of DIGIPOT_MCP4018 or DIGIPOT_MCP4451."
|
3295
|
|
-#elif !MB(MKS_SBASE, AZTEEG_X5_GT, AZTEEG_X5_MINI, AZTEEG_X5_MINI_WIFI) \
|
|
3239
|
+ #elif !MB(MKS_SBASE, AZTEEG_X5_GT, AZTEEG_X5_MINI, AZTEEG_X5_MINI_WIFI) \
|
3296
|
3240
|
&& (!defined(DIGIPOTS_I2C_SDA_X) || !defined(DIGIPOTS_I2C_SDA_Y) || !defined(DIGIPOTS_I2C_SDA_Z) || !defined(DIGIPOTS_I2C_SDA_E0) || !defined(DIGIPOTS_I2C_SDA_E1))
|
3297
|
3241
|
#error "DIGIPOT_MCP4018/4451 requires DIGIPOTS_I2C_SDA_* pins to be defined."
|
3298
|
3242
|
#endif
|