Allow override of CONTROLLERFAN_PIN with RAMPS EFF

This commit is contained in:
Scott Lahteine 2016-08-06 17:16:16 -07:00
parent 93eafa1785
commit 98437bd488
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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")