Revert duplicate Z2 pin definitions on 4MAX and Chiron.

This commit is contained in:
Knutwurst
2023-06-01 22:01:17 +02:00
parent a356788dc7
commit 8e828a48b9
3 changed files with 1 additions and 28 deletions

View File

@@ -289,24 +289,10 @@
#if ANY(KNUTWURST_CHIRON, KNUTWURST_4MAXP2) #if ANY(KNUTWURST_CHIRON, KNUTWURST_4MAXP2)
#define FIL_RUNOUT_PIN 33 #define FIL_RUNOUT_PIN 33
#ifndef Z2_STEP_PIN
#define Z2_STEP_PIN 46
#endif
#ifndef Z2_DIR_PIN
#define Z2_DIR_PIN 48
#endif
#ifndef Z2_ENABLE_PIN
#define Z2_ENABLE_PIN 62
#endif
#ifndef Z2_CS_PIN
#define Z2_CS_PIN 40
#endif
#else #else
#define FIL_RUNOUT_PIN 19 #define FIL_RUNOUT_PIN 19
#endif #endif
#ifndef PS_ON_PIN #ifndef PS_ON_PIN
#define PS_ON_PIN 12 #define PS_ON_PIN 12
#endif #endif

View File

@@ -142,19 +142,6 @@
#define Z_CS_PIN 40 #define Z_CS_PIN 40
#endif #endif
#ifndef Z2_STEP_PIN
#define Z2_STEP_PIN 46
#endif
#ifndef Z2_DIR_PIN
#define Z2_DIR_PIN 48
#endif
#ifndef Z2_ENABLE_PIN
#define Z2_ENABLE_PIN 62
#endif
#ifndef Z2_CS_PIN
#define Z2_CS_PIN 40
#endif
#define E0_STEP_PIN 26 #define E0_STEP_PIN 26
#define E0_DIR_PIN 28 #define E0_DIR_PIN 28
#define E0_ENABLE_PIN 24 #define E0_ENABLE_PIN 24

View File

@@ -103,7 +103,7 @@
#endif #endif
#endif #endif
#if ANY(TRIGORILLA_MAPPING_CHIRON, SWAP_Z_MOTORS, KNUTWURST_CHIRON, KNUTWURST_4MAXP2) // PATCH: knutwurst #if EITHER(TRIGORILLA_MAPPING_CHIRON, SWAP_Z_MOTORS)
// Chiron and some Anycubic i3 MEGAs swap Z steppers // Chiron and some Anycubic i3 MEGAs swap Z steppers
#define Z_STEP_PIN 36 #define Z_STEP_PIN 36
#define Z_DIR_PIN 34 #define Z_DIR_PIN 34