From e07a059b2dde9b6d5e1048d71e3f6f265a05ebbb Mon Sep 17 00:00:00 2001 From: Simon Pilepich Date: Mon, 12 Dec 2022 12:12:28 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Anycubic=20alternate=20Z1/Z2=20w?= =?UTF-8?q?iring=20(#25071)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/pins/ramps/pins_TRIGORILLA_14.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Marlin/src/pins/ramps/pins_TRIGORILLA_14.h b/Marlin/src/pins/ramps/pins_TRIGORILLA_14.h index 1156804b7c0e..96c3fced4cc1 100644 --- a/Marlin/src/pins/ramps/pins_TRIGORILLA_14.h +++ b/Marlin/src/pins/ramps/pins_TRIGORILLA_14.h @@ -88,8 +88,15 @@ #ifndef FIL_RUNOUT_PIN #define FIL_RUNOUT_PIN 33 #endif + #define HEATER_BED_PIN MOSFET_B_PIN // HEATER1 + #else + #ifndef FIL_RUNOUT_PIN + #define FIL_RUNOUT_PIN 19 + #endif + #endif - // Chiron swaps the Z stepper connections + #if EITHER(TRIGORILLA_MAPPING_CHIRON, SWAP_Z_MOTORS) + // Chiron and some Anycubic i3 MEGAs swap Z steppers #define Z_STEP_PIN 36 #define Z_DIR_PIN 34 #define Z_ENABLE_PIN 30 @@ -99,12 +106,6 @@ #define Z2_DIR_PIN 48 #define Z2_ENABLE_PIN 62 #define Z2_CS_PIN 40 - - #define HEATER_BED_PIN MOSFET_B_PIN // HEATER1 - #else - #ifndef FIL_RUNOUT_PIN - #define FIL_RUNOUT_PIN 19 - #endif #endif #endif