Skip to content

Commit

Permalink
Trigorilla Pro: Allow for swapped Z-stops
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Apr 19, 2021
1 parent 2c2984f commit 09de17f
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions Marlin/src/pins/stm32f1/pins_TRIGORILLA_PRO.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@

#define DISABLE_JTAG

//#define SWAPPED_Z_PLUGS

//
// EEPROM
//
Expand All @@ -59,10 +61,18 @@
#define X_STOP_PIN PG10
#define Y_STOP_PIN PA12
#ifndef Z_MIN_PIN
#define Z_MIN_PIN PA14
#ifdef SWAPPED_Z_PLUGS
#define Z_MIN_PIN PA14
#else
#define Z_MIN_PIN PA13
#endif
#endif
#ifndef Z_MAX_PIN
#define Z_MAX_PIN PA13
#ifdef SWAPPED_Z_PLUGS
#define Z_MAX_PIN PA13
#else
#define Z_MAX_PIN PA14
#endif
#endif

//
Expand Down Expand Up @@ -185,3 +195,5 @@
#define SDSS PD2
#define SD_DETECT_PIN -1
#endif

#undef SWAPPED_Z_PLUGS

0 comments on commit 09de17f

Please sign in to comment.