Fix GT2560 A+ servo pin

This commit is contained in:
Scott Lahteine 2017-12-25 02:18:56 -06:00
parent c6354fa153
commit 2925852244
2 changed files with 8 additions and 6 deletions

View File

@ -30,8 +30,11 @@
#error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu." #error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
#endif #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" #define DEFAULT_MACHINE_NAME "Prusa i3 Pro B"
// //
// Limit Switches // Limit Switches
// //

View File

@ -24,13 +24,12 @@
* Geeetech GT2560 Revision A+ board pin assignments * Geeetech GT2560 Revision A+ board pin assignments
*/ */
#define BOARD_NAME "GT2560 Rev.A+"
#include "pins_GT2560_REV_A.h" #include "pins_GT2560_REV_A.h"
#undef BOARD_NAME
#define BOARD_NAME "GT2560 Rev.A+"
#if ENABLED(BLTOUCH) #if ENABLED(BLTOUCH)
#define SERVO0_PIN 32
#else
#define SERVO0_PIN 11 #define SERVO0_PIN 11
#else
#define SERVO0_PIN 32
#endif #endif