From b742af2e2a36c520da418ae585b6e2fbdcc3b55f Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 10 Jul 2015 19:56:53 -0700 Subject: [PATCH] Move Y_STOP_PIN for Printrboard with SD (PR#2420) --- Marlin/pins_PRINTRBOARD.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Marlin/pins_PRINTRBOARD.h b/Marlin/pins_PRINTRBOARD.h index 9bf9df30fd..7d2c6d4b30 100644 --- a/Marlin/pins_PRINTRBOARD.h +++ b/Marlin/pins_PRINTRBOARD.h @@ -45,7 +45,11 @@ #endif #define X_STOP_PIN 35 -#define Y_STOP_PIN 8 +#ifdef SDSUPPORT + #define Y_STOP_PIN 37 // Move Ystop to Estop socket +#else + #define Y_STOP_PIN 8 // Ystop in Ystop socket +#endif #define Z_STOP_PIN 36 #define TEMP_0_PIN 1 // Extruder / Analog pin numbering #define TEMP_BED_PIN 0 // Bed / Analog pin numbering @@ -67,7 +71,7 @@ #define ALARM_PIN -1 #ifndef SDSUPPORT -// these pins are defined in the SD library if building with SD support + // these pins are defined in the SD library if building with SD support #define SCK_PIN 9 #define MISO_PIN 11 #define MOSI_PIN 10