Sfoglia il codice sorgente

RUMBA has 3 E plugs

Scott Lahteine 4 anni fa
parent
commit
4f55723527
1 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. 2
    3
      Marlin/src/module/temperature.cpp

+ 2
- 3
Marlin/src/module/temperature.cpp Vedi File

@@ -1660,10 +1660,9 @@ void Temperature::init() {
1660 1660
   #endif
1661 1661
 
1662 1662
   #if MB(RUMBA)
1663
+    // Disable RUMBA JTAG in case the thermocouple extension is plugged on top of JTAG connector
1663 1664
     #define _AD(N) ANY(HEATER_##N##_USES_AD595, HEATER_##N##_USES_AD8495)
1664
-    #if  _AD(0) || _AD(1) || _AD(2) /* RUMBA has 3 E plugs // || _AD(3) || _AD(4) || _AD(5) || _AD(6) || _AD(7) */ \
1665
-      || _AD(BED) || _AD(CHAMBER)
1666
-      // Disable RUMBA JTAG in case the thermocouple extension is plugged on top of JTAG connector
1665
+    #if  _AD(0) || _AD(1) || _AD(2) || _AD(BED) || _AD(CHAMBER)
1667 1666
       MCUCR = _BV(JTD);
1668 1667
       MCUCR = _BV(JTD);
1669 1668
     #endif

Loading…
Annulla
Salva