Make pins for EFF a consistent order

This commit is contained in:
Scott Lahteine 2016-07-30 04:03:45 -07:00
parent 49f75b7891
commit de951c64f1

View file

@ -151,28 +151,27 @@
#define HI_VOLT_PIN_A 10 #define HI_VOLT_PIN_A 10
#endif #endif
#define HEATER_0_PIN HI_VOLT_PIN_A
#if ENABLED(IS_RAMPS_EFB) // Hotend, Fan, Bed #if ENABLED(IS_RAMPS_EFB) // Hotend, Fan, Bed
#define HEATER_0_PIN HI_VOLT_PIN_A
#define FAN_PIN HI_VOLT_PIN_B #define FAN_PIN HI_VOLT_PIN_B
#define HEATER_BED_PIN HI_VOLT_PIN_C #define HEATER_BED_PIN HI_VOLT_PIN_C
#define FAN1_PIN 4 // IO pin. Buffer needed
#elif ENABLED(IS_RAMPS_EEF) // Hotend, Hotend, Fan #elif ENABLED(IS_RAMPS_EEF) // Hotend, Hotend, Fan
#define HEATER_0_PIN HI_VOLT_PIN_A
#define HEATER_1_PIN HI_VOLT_PIN_B #define HEATER_1_PIN HI_VOLT_PIN_B
#define FAN_PIN HI_VOLT_PIN_C #define FAN_PIN HI_VOLT_PIN_C
#define FAN1_PIN 4 // IO pin. Buffer needed
#elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed #elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
#define HEATER_0_PIN HI_VOLT_PIN_A
#define HEATER_1_PIN HI_VOLT_PIN_B #define HEATER_1_PIN HI_VOLT_PIN_B
#define HEATER_BED_PIN HI_VOLT_PIN_C #define HEATER_BED_PIN HI_VOLT_PIN_C
#define FAN_PIN 4 // IO pin. Buffer needed #define FAN_PIN 4 // IO pin. Buffer needed
#elif ENABLED(IS_RAMPS_EFF) // Hotend, Fan, Fan (EFF is reversed?) #elif ENABLED(IS_RAMPS_EFF) // Hotend, Fan, Fan
#define HEATER_0_PIN HI_VOLT_PIN_C
#define FAN_PIN HI_VOLT_PIN_B #define FAN_PIN HI_VOLT_PIN_B
#define FAN1_PIN HI_VOLT_PIN_A #define FAN1_PIN HI_VOLT_PIN_C
#define CONTROLLERFAN_PIN -1 #define CONTROLLERFAN_PIN -1
#elif ENABLED(IS_RAMPS_SF) // Spindle, Fan #elif ENABLED(IS_RAMPS_SF) // Spindle, Fan
#define FAN_PIN HI_VOLT_PIN_C #define FAN_PIN HI_VOLT_PIN_C
#else // Non-specific are "EFB" by legacy #else // Non-specific are "EFB" by legacy
#define HEATER_0_PIN HI_VOLT_PIN_A
#define FAN_PIN HI_VOLT_PIN_B #define FAN_PIN HI_VOLT_PIN_B
#define HEATER_BED_PIN HI_VOLT_PIN_C #define HEATER_BED_PIN HI_VOLT_PIN_C
#if HOTENDS == 1 #if HOTENDS == 1