From 2925852244a063ea97e780f9ed6b3ebc928cfc38 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 25 Dec 2017 02:18:56 -0600 Subject: [PATCH] Fix GT2560 A+ servo pin --- Marlin/src/pins/pins_GT2560_REV_A.h | 5 ++++- Marlin/src/pins/pins_GT2560_REV_A_PLUS.h | 9 ++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Marlin/src/pins/pins_GT2560_REV_A.h b/Marlin/src/pins/pins_GT2560_REV_A.h index 125acf8419..cb4892015e 100644 --- a/Marlin/src/pins/pins_GT2560_REV_A.h +++ b/Marlin/src/pins/pins_GT2560_REV_A.h @@ -30,8 +30,11 @@ #error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu." #endif -#define BOARD_NAME "GT2560 Rev.A" +#ifndef BOARD_NAME + #define BOARD_NAME "GT2560 Rev.A" +#endif #define DEFAULT_MACHINE_NAME "Prusa i3 Pro B" + // // Limit Switches // diff --git a/Marlin/src/pins/pins_GT2560_REV_A_PLUS.h b/Marlin/src/pins/pins_GT2560_REV_A_PLUS.h index 16660e0d16..99399e34ba 100644 --- a/Marlin/src/pins/pins_GT2560_REV_A_PLUS.h +++ b/Marlin/src/pins/pins_GT2560_REV_A_PLUS.h @@ -24,13 +24,12 @@ * Geeetech GT2560 Revision A+ board pin assignments */ +#define BOARD_NAME "GT2560 Rev.A+" + #include "pins_GT2560_REV_A.h" -#undef BOARD_NAME -#define BOARD_NAME "GT2560 Rev.A+" - #if ENABLED(BLTOUCH) - #define SERVO0_PIN 32 -#else #define SERVO0_PIN 11 +#else + #define SERVO0_PIN 32 #endif