Chris Pepper 5 yıl önce
ebeveyn
işleme
e585c37d7d
No account linked to committer's email address

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

31
 /**
31
 /**
32
  * Detect an old pins file by checking for old ADC pins values.
32
  * Detect an old pins file by checking for old ADC pins values.
33
  */
33
  */
34
-#define _OLD_TEMP_PIN(P) PIN_EXISTS(TEMP_BED) && _CAT(P,_PIN) <= 7 && _CAT(P,_PIN) != 2 && _CAT(P,_PIN) != 3
34
+#define _OLD_TEMP_PIN(P) PIN_EXISTS(P) && _CAT(P,_PIN) <= 7 && _CAT(P,_PIN) != 2 && _CAT(P,_PIN) != 3
35
 #if _OLD_TEMP_PIN(TEMP_BED)
35
 #if _OLD_TEMP_PIN(TEMP_BED)
36
   #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)."
36
   #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)."
37
 #elif _OLD_TEMP_PIN(TEMP_0)
37
 #elif _OLD_TEMP_PIN(TEMP_0)

Loading…
İptal
Kaydet