Fix Anycubic LCDs / Trigorilla 1.4 pins (#19220)

This commit is contained in:
Stéphane 2020-09-02 00:05:52 +02:00 committed by Scott Lahteine
parent c7335bcd4d
commit 755a4440e7

View file

@ -64,7 +64,7 @@
#elif TEMP_SENSOR_BED
// EFB (Anycubic Kossel default)
#define RAMPS_D9_PIN TG_FAN0_PIN
#if ENABLED(ANYCUBIC_CHIRON)
#if ENABLED(ANYCUBIC_LCD_CHIRON)
#define RAMPS_D8_PIN TG_HEATER_1_PIN // Heated bed is connected to HEATER1 output
#else
#define RAMPS_D8_PIN TG_HEATER_BED_PIN
@ -84,7 +84,7 @@
#define E0_AUTO_FAN_PIN TG_FAN2_PIN // Used in Anycubic Kossel example config
#endif
#if ENABLED(ANYCUBIC_I3MEGA)
#if ENABLED(ANYCUBIC_LCD_I3MEGA)
#define CONTROLLER_FAN_PIN TG_FAN1_PIN
#endif
@ -105,14 +105,14 @@
#if ENABLED(ANYCUBIC_4_MAX_PRO_ENDSTOPS)
#define X_MAX_PIN 43
#define Y_STOP_PIN 19
#elif EITHER(ANYCUBIC_CHIRON, ANYCUBIC_I3MEGA)
#elif EITHER(ANYCUBIC_LCD_CHIRON, ANYCUBIC_LCD_I3MEGA)
#define Y_STOP_PIN 42
#define Z2_MIN_PIN 43
#ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 2
#endif
#ifndef FIL_RUNOUT_PIN
#if ENABLED(ANYCUBIC_CHIRON)
#if ENABLED(ANYCUBIC_LCD_CHIRON)
#define FIL_RUNOUT_PIN 33
#else
#define FIL_RUNOUT_PIN 19