瀏覽代碼

Error in Smoothieboard for unsupported display

Scott Lahteine 6 年之前
父節點
當前提交
18458ec42b
共有 1 個檔案被更改,包括 7 行新增1 行删除
  1. 7
    1
      Marlin/src/pins/pins_SMOOTHIEBOARD.h

+ 7
- 1
Marlin/src/pins/pins_SMOOTHIEBOARD.h 查看文件

@@ -93,9 +93,10 @@
93 93
 #define FAN1_PIN           P2_04
94 94
 
95 95
 //
96
-// Display
96
+// LCD / Controller
97 97
 //
98 98
 #if ENABLED(VIKI2) || ENABLED(miniVIKI)
99
+
99 100
   #define BEEPER_PIN       P1_31
100 101
   //#define DOGLCD_A0      P2_06
101 102
   #define DOGLCD_CS        P0_16
@@ -109,4 +110,9 @@
109 110
 
110 111
   #define STAT_LED_RED_PIN  P1_19
111 112
   #define STAT_LED_BLUE_PIN P1_20
113
+
114
+#elif HAS_SPI_LCD
115
+
116
+  #error "Marlin's Smoothieboard support cannot drive your LCD."
117
+
112 118
 #endif

Loading…
取消
儲存