Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛Fix GT2560_V41b Z2 pin #26370

Merged
merged 4 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Marlin/src/pins/mega/pins_GT2560_V41b.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,13 @@
* X AXIS Y AXIS Z1 AXIS Z0 AXIS
* --- --- --- ---
* | 1 | 5V | 1 | 5V | 1 | 5V | 1 | 5V
* | 2 | 24 X_MIN | 2 | 28 Y_MIN | 2 | PE7 Z1_MIN | 2 | 30 Z0_MIN
* | 2 | 24 X_MIN | 2 | 28 Y_MIN | 2 | 80 Z1_MIN | 2 | 30 Z0_MIN
* | 3 | GND | 3 | GND | 3 | GND | 3 | GND
* --- --- --- ---
* J3 J4 J5 J6
*
*/

//#define Z1_MIN PE7 // Number??

#ifndef X_STOP_PIN
#ifndef X_MIN_PIN
#define X_MIN_PIN 24
Expand All @@ -84,6 +82,9 @@
#define Z_MAX_PIN 32
#endif
#endif
#ifndef Z2_STOP_PIN
#define Z2_STOP_PIN 80 // PE7 - Extended mega2560 pin
#endif

/** Filament Runout Sensors
*
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
#elif MB(WEEDO_62A)
#include "mega/pins_WEEDO_62A.h" // ATmega2560 env:mega2560
#elif MB(GT2560_V41B)
#include "mega/pins_GT2560_V41b.h" // ATmega2560 env:mega2560
#include "mega/pins_GT2560_V41b.h" // ATmega2560 env:mega2560ext

//
// ATmega1281, ATmega2561
Expand Down
Loading