Skip to content
Snippets Groups Projects
Commit 535eeace authored by Giuliano Zaro's avatar Giuliano Zaro Committed by Scott Lahteine
Browse files

Fix Bed, Chamber ADC condition (#14866)

parent 3914bcfb
No related branches found
No related tags found
No related merge requests found
...@@ -59,12 +59,12 @@ ...@@ -59,12 +59,12 @@
#else #else
#define GET_TEMP_5_ADC() -1 #define GET_TEMP_5_ADC() -1
#endif #endif
#if HAS_HEATED_BED #if HAS_TEMP_ADC_BED
#define GET_BED_ADC() PIN_TO_ADC(TEMP_BED_PIN) #define GET_BED_ADC() PIN_TO_ADC(TEMP_BED_PIN)
#else #else
#define GET_BED_ADC() -1 #define GET_BED_ADC() -1
#endif #endif
#if HAS_HEATED_CHAMBER #if HAS_TEMP_ADC_CHAMBER
#define GET_CHAMBER_ADC() PIN_TO_ADC(TEMP_CHAMBER_PIN) #define GET_CHAMBER_ADC() PIN_TO_ADC(TEMP_CHAMBER_PIN)
#else #else
#define GET_CHAMBER_ADC() -1 #define GET_CHAMBER_ADC() -1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment