瀏覽代碼

Add support for RUMBA thermocouple add on

MaikStohn 12 年之前
父節點
當前提交
61a48cc662
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. 6
    0
      Marlin/temperature.cpp

+ 6
- 0
Marlin/temperature.cpp 查看文件

@@ -571,6 +571,12 @@ static void updateTemperaturesFromRawValues()
571 571
 
572 572
 void tp_init()
573 573
 {
574
+#if (MOTHERBOARD == 80) && ((TEMP_SENSOR_0==-1)||(TEMP_SENSOR_1==-1)||(TEMP_SENSOR_2==-1)||(TEMP_SENSOR_BED==-1))
575
+  //disable RUMBA JTAG in case the thermocouple extension is plugged on top of JTAG connector
576
+  MCUCR=(1<<JTD); 
577
+  MCUCR=(1<<JTD);
578
+#endif
579
+  
574 580
   // Finish init of mult extruder arrays 
575 581
   for(int e = 0; e < EXTRUDERS; e++) {
576 582
     // populate with the first value 

Loading…
取消
儲存