|
@@ -485,9 +485,6 @@
|
485
|
485
|
#define MAX_EXTRUDERS 5
|
486
|
486
|
#endif
|
487
|
487
|
|
488
|
|
-// Marlin needs to account for pins that equal -1
|
489
|
|
-#define marlinAnalogInputToDigitalPin(p) ((p) == -1 ? -1 : analogInputToDigitalPin(p))
|
490
|
|
-
|
491
|
488
|
//
|
492
|
489
|
// Assign auto fan pins if needed
|
493
|
490
|
//
|
|
@@ -541,7 +538,7 @@
|
541
|
538
|
#endif // EXTRUDERS > 2
|
542
|
539
|
#endif // EXTRUDERS > 1
|
543
|
540
|
|
544
|
|
-#define _H0_PINS HEATER_0_PIN, E0_AUTO_FAN_PIN, marlinAnalogInputToDigitalPin(TEMP_0_PIN),
|
|
541
|
+#define _H0_PINS HEATER_0_PIN, E0_AUTO_FAN_PIN, analogInputToDigitalPin(TEMP_0_PIN),
|
545
|
542
|
#define _H1_PINS
|
546
|
543
|
#define _H2_PINS
|
547
|
544
|
#define _H3_PINS
|
|
@@ -549,16 +546,16 @@
|
549
|
546
|
|
550
|
547
|
#if HOTENDS > 1
|
551
|
548
|
#undef _H1_PINS
|
552
|
|
- #define _H1_PINS HEATER_1_PIN, E1_AUTO_FAN_PIN, marlinAnalogInputToDigitalPin(TEMP_1_PIN),
|
|
549
|
+ #define _H1_PINS HEATER_1_PIN, E1_AUTO_FAN_PIN, analogInputToDigitalPin(TEMP_1_PIN),
|
553
|
550
|
#if HOTENDS > 2
|
554
|
551
|
#undef _H2_PINS
|
555
|
|
- #define _H2_PINS HEATER_2_PIN, E2_AUTO_FAN_PIN, marlinAnalogInputToDigitalPin(TEMP_2_PIN),
|
|
552
|
+ #define _H2_PINS HEATER_2_PIN, E2_AUTO_FAN_PIN, analogInputToDigitalPin(TEMP_2_PIN),
|
556
|
553
|
#if HOTENDS > 3
|
557
|
554
|
#undef _H3_PINS
|
558
|
|
- #define _H3_PINS HEATER_3_PIN, E3_AUTO_FAN_PIN, marlinAnalogInputToDigitalPin(TEMP_3_PIN),
|
|
555
|
+ #define _H3_PINS HEATER_3_PIN, E3_AUTO_FAN_PIN, analogInputToDigitalPin(TEMP_3_PIN),
|
559
|
556
|
#if HOTENDS > 4
|
560
|
557
|
#undef _H4_PINS
|
561
|
|
- #define _H4_PINS HEATER_4_PIN, marlinAnalogInputToDigitalPin(TEMP_4_PIN),
|
|
558
|
+ #define _H4_PINS HEATER_4_PIN, analogInputToDigitalPin(TEMP_4_PIN),
|
562
|
559
|
#endif // HOTENDS > 4
|
563
|
560
|
#endif // HOTENDS > 3
|
564
|
561
|
#endif // HOTENDS > 2
|
|
@@ -579,7 +576,7 @@
|
579
|
576
|
#endif // MIXING_STEPPERS > 2
|
580
|
577
|
#endif // MIXING_STEPPERS > 1
|
581
|
578
|
|
582
|
|
-#define BED_PINS HEATER_BED_PIN, marlinAnalogInputToDigitalPin(TEMP_BED_PIN),
|
|
579
|
+#define BED_PINS HEATER_BED_PIN, analogInputToDigitalPin(TEMP_BED_PIN),
|
583
|
580
|
|
584
|
581
|
//
|
585
|
582
|
// Assign endstop pins for boards with only 3 connectors
|