No HEATER_0_PIN needed with 0 EXTRUDERS (#18827)

2.0.x
ellensp 4 years ago committed by Scott Lahteine
parent fc12ffcb30
commit 60cc56b31c

@ -1797,7 +1797,7 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
/** /**
* Test Heater, Temp Sensor, and Extruder Pins * Test Heater, Temp Sensor, and Extruder Pins
*/ */
#if !HAS_HEATER_0 #if !HAS_HEATER_0 && EXTRUDERS
#error "HEATER_0_PIN not defined for this board." #error "HEATER_0_PIN not defined for this board."
#elif !ANY_PIN(TEMP_0, MAX6675_SS) #elif !ANY_PIN(TEMP_0, MAX6675_SS)
#error "TEMP_0_PIN not defined for this board." #error "TEMP_0_PIN not defined for this board."

Loading…
Cancel
Save