Browse Source

Fix Bed, Chamber ADC condition (#14866)

Giuliano Zaro 5 years ago
parent
commit
535eeace5f
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/HAL/HAL_SAMD51/HAL.cpp

+ 2
- 2
Marlin/src/HAL/HAL_SAMD51/HAL.cpp View File

@@ -59,12 +59,12 @@
59 59
 #else
60 60
   #define GET_TEMP_5_ADC()          -1
61 61
 #endif
62
-#if HAS_HEATED_BED
62
+#if HAS_TEMP_ADC_BED
63 63
   #define GET_BED_ADC()             PIN_TO_ADC(TEMP_BED_PIN)
64 64
 #else
65 65
   #define GET_BED_ADC()             -1
66 66
 #endif
67
-#if HAS_HEATED_CHAMBER
67
+#if HAS_TEMP_ADC_CHAMBER
68 68
   #define GET_CHAMBER_ADC()         PIN_TO_ADC(TEMP_CHAMBER_PIN)
69 69
 #else
70 70
   #define GET_CHAMBER_ADC()         -1

Loading…
Cancel
Save