Fix passive Chamber Temp reading (#18674)

This commit is contained in:
Sergey1560 2020-07-17 05:42:55 +03:00 committed by GitHub
parent 1d6868852b
commit 9424567189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,7 +100,7 @@ const uint8_t adc_pins[] = {
#if HAS_HEATED_BED #if HAS_HEATED_BED
TEMP_BED_PIN, TEMP_BED_PIN,
#endif #endif
#if HAS_HEATED_CHAMBER #if HAS_TEMP_CHAMBER
TEMP_CHAMBER_PIN, TEMP_CHAMBER_PIN,
#endif #endif
#if HAS_TEMP_ADC_1 #if HAS_TEMP_ADC_1
@ -154,7 +154,7 @@ enum TempPinIndex : char {
#if HAS_HEATED_BED #if HAS_HEATED_BED
TEMP_BED, TEMP_BED,
#endif #endif
#if HAS_HEATED_CHAMBER #if HAS_TEMP_CHAMBER
TEMP_CHAMBER, TEMP_CHAMBER,
#endif #endif
#if HAS_TEMP_ADC_1 #if HAS_TEMP_ADC_1
@ -344,7 +344,7 @@ void HAL_adc_start_conversion(const uint8_t adc_pin) {
#if HAS_HEATED_BED #if HAS_HEATED_BED
case TEMP_BED_PIN: pin_index = TEMP_BED; break; case TEMP_BED_PIN: pin_index = TEMP_BED; break;
#endif #endif
#if HAS_HEATED_CHAMBER #if HAS_TEMP_CHAMBER
case TEMP_CHAMBER_PIN: pin_index = TEMP_CHAMBER; break; case TEMP_CHAMBER_PIN: pin_index = TEMP_CHAMBER; break;
#endif #endif
#if HAS_TEMP_ADC_1 #if HAS_TEMP_ADC_1