|
@@ -564,8 +564,20 @@
|
564
|
564
|
#elif !PIN_EXISTS(TEMP_3)
|
565
|
565
|
#error "TEMP_3_PIN not defined for this board."
|
566
|
566
|
#endif
|
|
567
|
+ #elif TEMP_SENSOR_3 != 0
|
|
568
|
+ #error "TEMP_SENSOR_3 shouldn't be set with only 3 extruders."
|
567
|
569
|
#endif
|
568
|
|
- #endif
|
|
570
|
+ #elif TEMP_SENSOR_2 != 0
|
|
571
|
+ #error "TEMP_SENSOR_2 shouldn't be set with only 2 extruders."
|
|
572
|
+ #elif TEMP_SENSOR_3 != 0
|
|
573
|
+ #error "TEMP_SENSOR_3 shouldn't be set with only 2 extruders."
|
|
574
|
+ #endif
|
|
575
|
+#elif TEMP_SENSOR_1 != 0 && DISABLED(TEMP_SENSOR_1_AS_REDUNDANT)
|
|
576
|
+ #error "TEMP_SENSOR_1 shouldn't be set with only 1 extruder."
|
|
577
|
+#elif TEMP_SENSOR_2 != 0
|
|
578
|
+ #error "TEMP_SENSOR_2 shouldn't be set with only 1 extruder."
|
|
579
|
+#elif TEMP_SENSOR_3 != 0
|
|
580
|
+ #error "TEMP_SENSOR_3 shouldn't be set with only 1 extruder."
|
569
|
581
|
#endif
|
570
|
582
|
|
571
|
583
|
#if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT) && TEMP_SENSOR_1 == 0
|