diff --git a/Marlin/pins_GT2560_REV_A.h b/Marlin/pins_GT2560_REV_A.h index 125acf841..cb4892015 100644 --- a/Marlin/pins_GT2560_REV_A.h +++ b/Marlin/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/pins_GT2560_REV_A_PLUS.h b/Marlin/pins_GT2560_REV_A_PLUS.h index 16660e0d1..99399e34b 100644 --- a/Marlin/pins_GT2560_REV_A_PLUS.h +++ b/Marlin/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