Browse Source

Add support for RUMBA thermocouple add on

MaikStohn 12 years ago
parent
commit
61a48cc662
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      Marlin/temperature.cpp

+ 6
- 0
Marlin/temperature.cpp View File

@@ -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…
Cancel
Save