Browse Source

Move Y_STOP_PIN for Printrboard with SD (PR#2420)

Scott Lahteine 9 years ago
parent
commit
b742af2e2a
1 changed files with 6 additions and 2 deletions
  1. 6
    2
      Marlin/pins_PRINTRBOARD.h

+ 6
- 2
Marlin/pins_PRINTRBOARD.h View File

@@ -45,7 +45,11 @@
45 45
 #endif
46 46
 
47 47
 #define X_STOP_PIN         35
48
-#define Y_STOP_PIN          8
48
+#ifdef SDSUPPORT
49
+  #define Y_STOP_PIN       37 // Move Ystop to Estop socket
50
+#else
51
+  #define Y_STOP_PIN        8 // Ystop in Ystop socket
52
+#endif
49 53
 #define Z_STOP_PIN         36
50 54
 #define TEMP_0_PIN          1  // Extruder / Analog pin numbering
51 55
 #define TEMP_BED_PIN        0  // Bed / Analog pin numbering
@@ -67,7 +71,7 @@
67 71
 #define ALARM_PIN          -1
68 72
 
69 73
 #ifndef SDSUPPORT
70
-// these pins are defined in the SD library if building with SD support
74
+  // these pins are defined in the SD library if building with SD support
71 75
   #define SCK_PIN           9
72 76
   #define MISO_PIN         11
73 77
   #define MOSI_PIN         10

Loading…
Cancel
Save