🧑‍💻 Wrap MMU1 pins

This commit is contained in:
Scott Lahteine
2022-02-10 13:58:50 -06:00
parent 65c4f14a9e
commit 59548410b8
12 changed files with 79 additions and 55 deletions

View File

@ -105,7 +105,9 @@
//
// Průša i3 MK2 Multiplexer Support
//
#define E_MUX2_PIN -1
#if HAS_PRUSA_MMU1
#define E_MUX2_PIN -1
#endif
//
// Misc. Functions

View File

@ -412,14 +412,16 @@
//
// Průša i3 MK2 Multiplexer Support
//
#ifndef E_MUX0_PIN
#define E_MUX0_PIN 40 // Z_CS_PIN
#endif
#ifndef E_MUX1_PIN
#define E_MUX1_PIN 42 // E0_CS_PIN
#endif
#ifndef E_MUX2_PIN
#define E_MUX2_PIN 44 // E1_CS_PIN
#if HAS_PRUSA_MMU1
#ifndef E_MUX0_PIN
#define E_MUX0_PIN 40 // Z_CS_PIN
#endif
#ifndef E_MUX1_PIN
#define E_MUX1_PIN 42 // E0_CS_PIN
#endif
#ifndef E_MUX2_PIN
#define E_MUX2_PIN 44 // E1_CS_PIN
#endif
#endif
//

View File

@ -233,14 +233,16 @@
//
// Průša i3 MK2 Multiplexer Support
//
#ifndef E_MUX0_PIN
#define E_MUX0_PIN 29 // E2_STEP_PIN
#endif
#ifndef E_MUX1_PIN
#define E_MUX1_PIN 28 // E2_DIR_PIN
#endif
#ifndef E_MUX2_PIN
#define E_MUX2_PIN 39 // E2_ENABLE_PIN
#if HAS_PRUSA_MMU1
#ifndef E_MUX0_PIN
#define E_MUX0_PIN 29 // E2_STEP_PIN
#endif
#ifndef E_MUX1_PIN
#define E_MUX1_PIN 28 // E2_DIR_PIN
#endif
#ifndef E_MUX2_PIN
#define E_MUX2_PIN 39 // E2_ENABLE_PIN
#endif
#endif
//////////////////////////

View File

@ -252,15 +252,17 @@
//
// Průša i3 MK2 Multiplexer Support
//
//#ifndef E_MUX0_PIN
// #define E_MUX0_PIN 58 // Y_CS_PIN
//#endif
//#ifndef E_MUX1_PIN
// #define E_MUX1_PIN 53 // Z_CS_PIN
//#endif
//#ifndef E_MUX2_PIN
// #define E_MUX2_PIN 49 // En_CS_PIN
//#endif
#if 0 && HAS_PRUSA_MMU1
#ifndef E_MUX0_PIN
#define E_MUX0_PIN 58 // Y_CS_PIN
#endif
#ifndef E_MUX1_PIN
#define E_MUX1_PIN 53 // Z_CS_PIN
#endif
#ifndef E_MUX2_PIN
#define E_MUX2_PIN 49 // En_CS_PIN
#endif
#endif
//////////////////////////
// LCDs and Controllers //