Browse Source

Trigorilla Pro: Allow for swapped Z-stops

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
committed by Scott Lahteine
parent
commit
3d3c0591e8
  1. 12
      Marlin/src/pins/stm32f1/pins_TRIGORILLA_PRO.h

12
Marlin/src/pins/stm32f1/pins_TRIGORILLA_PRO.h

@ -40,6 +40,8 @@
#define DISABLE_JTAG #define DISABLE_JTAG
//#define SWAPPED_Z_PLUGS
// //
// EEPROM // EEPROM
// //
@ -59,10 +61,18 @@
#define X_STOP_PIN PG10 #define X_STOP_PIN PG10
#define Y_STOP_PIN PA12 #define Y_STOP_PIN PA12
#ifndef Z_MIN_PIN #ifndef Z_MIN_PIN
#ifdef SWAPPED_Z_PLUGS
#define Z_MIN_PIN PA14 #define Z_MIN_PIN PA14
#else
#define Z_MIN_PIN PA13
#endif
#endif #endif
#ifndef Z_MAX_PIN #ifndef Z_MAX_PIN
#ifdef SWAPPED_Z_PLUGS
#define Z_MAX_PIN PA13 #define Z_MAX_PIN PA13
#else
#define Z_MAX_PIN PA14
#endif
#endif #endif
// //
@ -185,3 +195,5 @@
#define SDSS PD2 #define SDSS PD2
#define SD_DETECT_PIN -1 #define SD_DETECT_PIN -1
#endif #endif
#undef SWAPPED_Z_PLUGS

Loading…
Cancel
Save