RUMBA has 3 E plugs

This commit is contained in:
Scott Lahteine 2020-02-27 07:47:40 -06:00
parent 77b82d300a
commit 4f55723527

View File

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