Browse Source

Patch BLTouch Z_MAX_PIN for GT2560 Rev.A (non-plus) (#17721)

vanilla_fb_2.0.x
Warboy1982 5 years ago
committed by GitHub
parent
commit
7eac76d31b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      Marlin/src/pins/mega/pins_GT2560_REV_A.h
  2. 4
      Marlin/src/pins/mega/pins_GT2560_REV_A_PLUS.h

12
Marlin/src/pins/mega/pins_GT2560_REV_A.h

@ -44,7 +44,17 @@
#define Y_MIN_PIN 26
#define Y_MAX_PIN 28
#define Z_MIN_PIN 30
#define Z_MAX_PIN 32
#if ENABLED(BLTOUCH)
#if MB(GT2560_REV_A_PLUS)
#define SERVO0_PIN 11
#else
#define SERVO0_PIN 32
#endif
#define Z_MAX_PIN -1
#else
#define Z_MAX_PIN 32
#endif
//
// Steppers

4
Marlin/src/pins/mega/pins_GT2560_REV_A_PLUS.h

@ -29,8 +29,6 @@
#include "pins_GT2560_REV_A.h"
#if ENABLED(BLTOUCH)
#define SERVO0_PIN 11
#else
#if DISABLED(BLTOUCH)
#define SERVO0_PIN 32
#endif

Loading…
Cancel
Save