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
 #else
59
 #else
60
   #define GET_TEMP_5_ADC()          -1
60
   #define GET_TEMP_5_ADC()          -1
61
 #endif
61
 #endif
62
-#if HAS_HEATED_BED
62
+#if HAS_TEMP_ADC_BED
63
   #define GET_BED_ADC()             PIN_TO_ADC(TEMP_BED_PIN)
63
   #define GET_BED_ADC()             PIN_TO_ADC(TEMP_BED_PIN)
64
 #else
64
 #else
65
   #define GET_BED_ADC()             -1
65
   #define GET_BED_ADC()             -1
66
 #endif
66
 #endif
67
-#if HAS_HEATED_CHAMBER
67
+#if HAS_TEMP_ADC_CHAMBER
68
   #define GET_CHAMBER_ADC()         PIN_TO_ADC(TEMP_CHAMBER_PIN)
68
   #define GET_CHAMBER_ADC()         PIN_TO_ADC(TEMP_CHAMBER_PIN)
69
 #else
69
 #else
70
   #define GET_CHAMBER_ADC()         -1
70
   #define GET_CHAMBER_ADC()         -1

Loading…
Cancel
Save