Browse Source

Allow override of CONTROLLERFAN_PIN with RAMPS EFF

pull/1/head
Scott Lahteine 9 years ago
parent
commit
98437bd488
  1. 3
      Marlin/pins.h
  2. 1
      Marlin/pins_RAMPS.h

3
Marlin/pins.h

@ -214,6 +214,9 @@
#ifndef FAN2_PIN
#define FAN2_PIN -1
#endif
#ifndef CONTROLLERFAN_PIN
#define CONTROLLERFAN_PIN -1
#endif
#ifndef HEATER_0_PIN
#define HEATER_0_PIN -1

1
Marlin/pins_RAMPS.h

@ -159,7 +159,6 @@
#elif ENABLED(IS_RAMPS_EFF) // Hotend, Fan, Fan
#define FAN_PIN RAMPS_D9_PIN
#define FAN1_PIN RAMPS_D8_PIN
#define CONTROLLERFAN_PIN -1
#elif ENABLED(IS_RAMPS_SF) // Spindle, Fan
#define FAN_PIN RAMPS_D8_PIN
#else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE")

Loading…
Cancel
Save