|
@@ -1429,7 +1429,7 @@ void disable_heater()
|
|
#endif
|
|
#endif
|
|
#endif
|
|
#endif
|
|
|
|
|
|
- #if defined(TEMP_1_PIN) && TEMP_1_PIN > -1 && EXTRUDERS > 1
|
|
|
|
|
|
+ #if defined(TEMP_1_PIN) && TEMP_1_PIN > -1
|
|
target_temperature[1]=0;
|
|
target_temperature[1]=0;
|
|
soft_pwm[1]=0;
|
|
soft_pwm[1]=0;
|
|
#if defined(HEATER_1_PIN) && HEATER_1_PIN > -1
|
|
#if defined(HEATER_1_PIN) && HEATER_1_PIN > -1
|
|
@@ -1662,7 +1662,7 @@ extern "C" {
|
|
|
|
|
|
void adc_ready(void) //callback from adc when sampling finished
|
|
void adc_ready(void) //callback from adc when sampling finished
|
|
{
|
|
{
|
|
- current_temperature_raw[0] = adc_values[ADC_PIN_IDX(TEMP_0_PIN)]; //heater
|
|
|
|
|
|
+ current_temperature_raw[0] = adc_values[ADC_PIN_IDX(TEMP_1_PIN)]; //heater
|
|
#ifdef PINDA_THERMISTOR
|
|
#ifdef PINDA_THERMISTOR
|
|
current_temperature_raw_pinda_fast = adc_values[ADC_PIN_IDX(TEMP_PINDA_PIN)];
|
|
current_temperature_raw_pinda_fast = adc_values[ADC_PIN_IDX(TEMP_PINDA_PIN)];
|
|
#endif //PINDA_THERMISTOR
|
|
#endif //PINDA_THERMISTOR
|