Kaynağa Gözat

No HEATER_0_PIN needed with 0 EXTRUDERS (#18827)

ellensp 4 yıl önce
ebeveyn
işleme
8faa31df54
No account linked to committer's email address
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      Marlin/src/inc/SanityCheck.h

+ 1
- 1
Marlin/src/inc/SanityCheck.h Dosyayı Görüntüle

1797
 /**
1797
 /**
1798
  * Test Heater, Temp Sensor, and Extruder Pins
1798
  * Test Heater, Temp Sensor, and Extruder Pins
1799
  */
1799
  */
1800
-#if !HAS_HEATER_0
1800
+#if !HAS_HEATER_0 && EXTRUDERS
1801
   #error "HEATER_0_PIN not defined for this board."
1801
   #error "HEATER_0_PIN not defined for this board."
1802
 #elif !ANY_PIN(TEMP_0, MAX6675_SS)
1802
 #elif !ANY_PIN(TEMP_0, MAX6675_SS)
1803
   #error "TEMP_0_PIN not defined for this board."
1803
   #error "TEMP_0_PIN not defined for this board."

Loading…
İptal
Kaydet