mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 20:18:52 +00:00
Merge pull request #7632 from GMagician/Wrong-sanitycheck-message-fix
Addressing #7612
This commit is contained in:
commit
e2ceb1b800
@ -959,28 +959,28 @@ static_assert(1 >= 0
|
|||||||
#error "TEMP_4_PIN not defined for this board."
|
#error "TEMP_4_PIN not defined for this board."
|
||||||
#endif
|
#endif
|
||||||
#elif TEMP_SENSOR_4 != 0
|
#elif TEMP_SENSOR_4 != 0
|
||||||
#error "TEMP_SENSOR_4 shouldn't be set with only 4 extruders."
|
#error "TEMP_SENSOR_4 shouldn't be set with only 4 HOTENDS."
|
||||||
#endif
|
#endif
|
||||||
#elif TEMP_SENSOR_3 != 0
|
#elif TEMP_SENSOR_3 != 0
|
||||||
#error "TEMP_SENSOR_3 shouldn't be set with only 3 extruders."
|
#error "TEMP_SENSOR_3 shouldn't be set with only 3 HOTENDS."
|
||||||
#elif TEMP_SENSOR_4 != 0
|
#elif TEMP_SENSOR_4 != 0
|
||||||
#error "TEMP_SENSOR_4 shouldn't be set with only 3 extruders."
|
#error "TEMP_SENSOR_4 shouldn't be set with only 3 HOTENDS."
|
||||||
#endif
|
#endif
|
||||||
#elif TEMP_SENSOR_2 != 0
|
#elif TEMP_SENSOR_2 != 0
|
||||||
#error "TEMP_SENSOR_2 shouldn't be set with only 2 extruders."
|
#error "TEMP_SENSOR_2 shouldn't be set with only 2 HOTENDS."
|
||||||
#elif TEMP_SENSOR_3 != 0
|
#elif TEMP_SENSOR_3 != 0
|
||||||
#error "TEMP_SENSOR_3 shouldn't be set with only 2 extruders."
|
#error "TEMP_SENSOR_3 shouldn't be set with only 2 HOTENDS."
|
||||||
#elif TEMP_SENSOR_4 != 0
|
#elif TEMP_SENSOR_4 != 0
|
||||||
#error "TEMP_SENSOR_4 shouldn't be set with only 2 extruders."
|
#error "TEMP_SENSOR_4 shouldn't be set with only 2 HOTENDS."
|
||||||
#endif
|
#endif
|
||||||
#elif TEMP_SENSOR_1 != 0 && DISABLED(TEMP_SENSOR_1_AS_REDUNDANT)
|
#elif TEMP_SENSOR_1 != 0 && DISABLED(TEMP_SENSOR_1_AS_REDUNDANT)
|
||||||
#error "TEMP_SENSOR_1 shouldn't be set with only 1 extruder."
|
#error "TEMP_SENSOR_1 shouldn't be set with only 1 HOTEND."
|
||||||
#elif TEMP_SENSOR_2 != 0
|
#elif TEMP_SENSOR_2 != 0
|
||||||
#error "TEMP_SENSOR_2 shouldn't be set with only 1 extruder."
|
#error "TEMP_SENSOR_2 shouldn't be set with only 1 HOTEND."
|
||||||
#elif TEMP_SENSOR_3 != 0
|
#elif TEMP_SENSOR_3 != 0
|
||||||
#error "TEMP_SENSOR_3 shouldn't be set with only 1 extruder."
|
#error "TEMP_SENSOR_3 shouldn't be set with only 1 HOTEND."
|
||||||
#elif TEMP_SENSOR_4 != 0
|
#elif TEMP_SENSOR_4 != 0
|
||||||
#error "TEMP_SENSOR_4 shouldn't be set with only 1 extruder."
|
#error "TEMP_SENSOR_4 shouldn't be set with only 1 HOTEND."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT) && TEMP_SENSOR_1 == 0
|
#if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT) && TEMP_SENSOR_1 == 0
|
||||||
|
Loading…
Reference in New Issue
Block a user