浏览代码

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)];