From 535eeace5f6e68f664169322cacf27b46517d37c Mon Sep 17 00:00:00 2001 From: Giuliano Zaro <3684609+GMagician@users.noreply.github.com> Date: Wed, 7 Aug 2019 05:57:54 +0200 Subject: [PATCH] Fix Bed, Chamber ADC condition (#14866) --- Marlin/src/HAL/HAL_SAMD51/HAL.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/src/HAL/HAL_SAMD51/HAL.cpp b/Marlin/src/HAL/HAL_SAMD51/HAL.cpp index 32a6bad4cd..dac6037b20 100644 --- a/Marlin/src/HAL/HAL_SAMD51/HAL.cpp +++ b/Marlin/src/HAL/HAL_SAMD51/HAL.cpp @@ -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