浏览代码

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
 
571
 
572
 void tp_init()
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
   // Finish init of mult extruder arrays 
580
   // Finish init of mult extruder arrays 
575
   for(int e = 0; e < EXTRUDERS; e++) {
581
   for(int e = 0; e < EXTRUDERS; e++) {
576
     // populate with the first value 
582
     // populate with the first value 

正在加载...
取消
保存