Shorten some internal pin names
This commit is contained in:
parent
d83ad6f321
commit
e7f020f3f2
|
@ -47,43 +47,43 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Labeled pins
|
// Labeled pins
|
||||||
#define TRIGORILLA_HEATER_BED_PIN 8
|
#define TG_HEATER_BED_PIN 8
|
||||||
#define TRIGORILLA_HEATER_0_PIN 10
|
#define TG_HEATER_0_PIN 10
|
||||||
#define TRIGORILLA_HEATER_1_PIN 45 // Anycubic Kossel: Unused
|
#define TG_HEATER_1_PIN 45 // Anycubic Kossel: Unused
|
||||||
|
|
||||||
#define TRIGORILLA_FAN0_PIN 9 // Anycubic Kossel: Usually the part cooling fan
|
#define TG_FAN0_PIN 9 // Anycubic Kossel: Usually the part cooling fan
|
||||||
#define TRIGORILLA_FAN1_PIN 7 // Anycubic Kossel: Unused
|
#define TG_FAN1_PIN 7 // Anycubic Kossel: Unused
|
||||||
#define TRIGORILLA_FAN2_PIN 44 // Anycubic Kossel: Hotend fan
|
#define TG_FAN2_PIN 44 // Anycubic Kossel: Hotend fan
|
||||||
|
|
||||||
// Remap MOSFET pins to common usages:
|
// Remap MOSFET pins to common usages:
|
||||||
|
|
||||||
#define RAMPS_D10_PIN TRIGORILLA_HEATER_0_PIN // HEATER_0_PIN is always RAMPS_D10_PIN in pins_RAMPS.h
|
#define RAMPS_D10_PIN TG_HEATER_0_PIN // HEATER_0_PIN is always RAMPS_D10_PIN in pins_RAMPS.h
|
||||||
|
|
||||||
#if HOTENDS > 1 // EEF and EEB
|
#if HOTENDS > 1 // EEF and EEB
|
||||||
#define RAMPS_D9_PIN TRIGORILLA_HEATER_1_PIN
|
#define RAMPS_D9_PIN TG_HEATER_1_PIN
|
||||||
#if !TEMP_SENSOR_BED
|
#if !TEMP_SENSOR_BED
|
||||||
// EEF
|
// EEF
|
||||||
#define RAMPS_D8_PIN TRIGORILLA_FAN0_PIN
|
#define RAMPS_D8_PIN TG_FAN0_PIN
|
||||||
#else
|
#else
|
||||||
// EEB
|
// EEB
|
||||||
#define RAMPS_D8_PIN TRIGORILLA_HEATER_BED_PIN
|
#define RAMPS_D8_PIN TG_HEATER_BED_PIN
|
||||||
#define FAN_PIN TRIGORILLA_FAN0_PIN // Override pin 4 in pins_RAMPS.h
|
#define FAN_PIN TG_FAN0_PIN // Override pin 4 in pins_RAMPS.h
|
||||||
#endif
|
#endif
|
||||||
#elif TEMP_SENSOR_BED
|
#elif TEMP_SENSOR_BED
|
||||||
// EFB (Anycubic Kossel default)
|
// EFB (Anycubic Kossel default)
|
||||||
#define RAMPS_D9_PIN TRIGORILLA_FAN0_PIN
|
#define RAMPS_D9_PIN TG_FAN0_PIN
|
||||||
#define RAMPS_D8_PIN TRIGORILLA_HEATER_BED_PIN
|
#define RAMPS_D8_PIN TG_HEATER_BED_PIN
|
||||||
#else
|
#else
|
||||||
// EFF
|
// EFF
|
||||||
#define RAMPS_D9_PIN TRIGORILLA_FAN1_PIN
|
#define RAMPS_D9_PIN TG_FAN1_PIN
|
||||||
#define RAMPS_D8_PIN TRIGORILLA_FAN0_PIN
|
#define RAMPS_D8_PIN TG_FAN0_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HOTENDS > 1 || TEMP_SENSOR_BED // EEF, EEB, EFB
|
#if HOTENDS > 1 || TEMP_SENSOR_BED // EEF, EEB, EFB
|
||||||
#define FAN1_PIN TRIGORILLA_FAN1_PIN
|
#define FAN1_PIN TG_FAN1_PIN
|
||||||
#endif
|
#endif
|
||||||
#define FAN2_PIN TRIGORILLA_FAN2_PIN
|
#define FAN2_PIN TG_FAN2_PIN
|
||||||
#define ORIG_E0_AUTO_FAN_PIN TRIGORILLA_FAN2_PIN // Used in Anycubic Kossel example config
|
#define ORIG_E0_AUTO_FAN_PIN TG_FAN2_PIN // Used in Anycubic Kossel example config
|
||||||
|
|
||||||
#include "pins_RAMPS.h"
|
#include "pins_RAMPS.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue