No HEATER_0_PIN needed with 0 EXTRUDERS (#18827)

This commit is contained in:
ellensp 2020-07-30 14:26:18 +12:00 committed by GitHub
parent 38ce5966e1
commit 8faa31df54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
*/
#if !HAS_HEATER_0
#if !HAS_HEATER_0 && EXTRUDERS
#error "HEATER_0_PIN not defined for this board."
#elif !ANY_PIN(TEMP_0, MAX6675_SS)
#error "TEMP_0_PIN not defined for this board."