1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Fix Bed, Chamber ADC condition (#14866)

This commit is contained in:
Giuliano Zaro 2019-08-07 05:57:54 +02:00 committed by Scott Lahteine
parent 3914bcfbb1
commit 535eeace5f

View File

@ -59,12 +59,12 @@
#else
#define GET_TEMP_5_ADC() -1
#endif
#if HAS_HEATED_BED
#if HAS_TEMP_ADC_BED
#define GET_BED_ADC() PIN_TO_ADC(TEMP_BED_PIN)
#else
#define GET_BED_ADC() -1
#endif
#if HAS_HEATED_CHAMBER
#if HAS_TEMP_ADC_CHAMBER
#define GET_CHAMBER_ADC() PIN_TO_ADC(TEMP_CHAMBER_PIN)
#else
#define GET_CHAMBER_ADC() -1