|
@@ -282,6 +282,22 @@
|
282
|
282
|
// Marlin needs to account for pins that equal -1
|
283
|
283
|
#define marlinAnalogInputToDigitalPin(p) ((p) == -1 ? -1 : analogInputToDigitalPin(p))
|
284
|
284
|
|
|
285
|
+//
|
|
286
|
+// Assign auto fan pins if needed
|
|
287
|
+//
|
|
288
|
+#if !defined(E0_AUTO_FAN_PIN) && defined(ORIG_E0_AUTO_FAN_PIN)
|
|
289
|
+ #define E0_AUTO_FAN_PIN ORIG_E0_AUTO_FAN_PIN
|
|
290
|
+#endif
|
|
291
|
+#if !defined(E1_AUTO_FAN_PIN) && defined(ORIG_E1_AUTO_FAN_PIN)
|
|
292
|
+ #define E1_AUTO_FAN_PIN ORIG_E1_AUTO_FAN_PIN
|
|
293
|
+#endif
|
|
294
|
+#if !defined(E2_AUTO_FAN_PIN) && defined(ORIG_E2_AUTO_FAN_PIN)
|
|
295
|
+ #define E2_AUTO_FAN_PIN ORIG_E2_AUTO_FAN_PIN
|
|
296
|
+#endif
|
|
297
|
+#if !defined(E3_AUTO_FAN_PIN) && defined(ORIG_E3_AUTO_FAN_PIN)
|
|
298
|
+ #define E3_AUTO_FAN_PIN ORIG_E3_AUTO_FAN_PIN
|
|
299
|
+#endif
|
|
300
|
+
|
285
|
301
|
// List of pins which to ignore when asked to change by gcode, 0 and 1 are RX and TX, do not mess with those!
|
286
|
302
|
#define _E0_PINS E0_STEP_PIN, E0_DIR_PIN, E0_ENABLE_PIN, E0_MS1_PIN, E0_MS2_PIN,
|
287
|
303
|
#define _E1_PINS
|