瀏覽代碼

Move Y_STOP_PIN for Printrboard with SD (PR#2420)

Scott Lahteine 9 年之前
父節點
當前提交
b742af2e2a
共有 1 個檔案被更改,包括 6 行新增2 行删除
  1. 6
    2
      Marlin/pins_PRINTRBOARD.h

+ 6
- 2
Marlin/pins_PRINTRBOARD.h 查看文件

@@ -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…
取消
儲存