Allow override of CONTROLLERFAN_PIN with RAMPS EFF

master
Scott Lahteine 8 years ago
parent 93eafa1785
commit 98437bd488

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

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

Loading…
Cancel
Save