diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp index fb60b7d44..0531d15cb 100644 --- a/Marlin/temperature.cpp +++ b/Marlin/temperature.cpp @@ -2128,7 +2128,7 @@ void Temperature::isr() { HAL_START_ADC(TEMP_CHAMBER_PIN); break; case MeasureTemp_CHAMBER: - raw_temp_chamber_value += ADC; + raw_temp_chamber_value += HAL_READ_ADC; break; #endif @@ -2186,7 +2186,7 @@ void Temperature::isr() { break; case Measure_ADC_KEY: if (ADCKey_count < 16) { - raw_ADCKey_value = ADC; + raw_ADCKey_value = HAL_READ_ADC; if (raw_ADCKey_value > 900) { //ADC Key release ADCKey_count = 0;