Browse Source

No HEATER_0_PIN needed with 0 EXTRUDERS (#18827)

ellensp 4 years ago
parent
commit
8faa31df54
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/inc/SanityCheck.h

+ 1
- 1
Marlin/src/inc/SanityCheck.h View File

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

Loading…
Cancel
Save