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

This commit is contained in:
Warboy1982 2020-04-27 23:38:23 +10:00 committed by GitHub
parent c56b66543d
commit 7eac76d31b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View file

@ -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

View file

@ -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