Преглед изворни кода

Change hotend temperature sensor from T0 to T1

Custom modification to Einsy Rambo to remove pullup resistor (R36)
on T1 to support AD8495 thermocouple amplifier.
Kevin Lee пре 3 година
родитељ
комит
77fc23b44f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Firmware/temperature.cpp

+ 1 - 1
Firmware/temperature.cpp

@@ -2087,7 +2087,7 @@ float current_temperature_ambient_isr;
 // ISR callback from adc when sampling finished
 void adc_callback()
 {
-    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
     current_temperature_bed_raw = adc_values[ADC_PIN_IDX(TEMP_BED_PIN)];
 #ifdef PINDA_THERMISTOR
     current_temperature_raw_pinda = adc_values[ADC_PIN_IDX(TEMP_PINDA_PIN)];