Browse Source

Checks for CR10_STOCKDISPLAY with Creality v4 (#19019)

ellensp 5 years ago
parent
commit
19818a95a2
No account linked to committer's email address
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      Marlin/src/pins/stm32f1/pins_CREALITY_V4.h

+ 5
- 0
Marlin/src/pins/stm32f1/pins_CREALITY_V4.h View File

134
 #define ONBOARD_SD_CS_PIN                   PA4   // SDSS
134
 #define ONBOARD_SD_CS_PIN                   PA4   // SDSS
135
 #define SDIO_SUPPORT
135
 #define SDIO_SUPPORT
136
 
136
 
137
+#if ENABLED(CR10_STOCKDISPLAY) && NONE(RET6_12864_LCD, VET6_12864_LCD)
138
+  #error "Define RET6_12864_LCD or VET6_12864_LCD to select pins for CR10_STOCKDISPLAY with the Creality V4 controller."
139
+#endif
140
+
137
 #if ENABLED(RET6_12864_LCD)
141
 #if ENABLED(RET6_12864_LCD)
138
 
142
 
139
   /* RET6 12864 LCD */
143
   /* RET6 12864 LCD */
146
   #define BTN_EN2                           PB14
150
   #define BTN_EN2                           PB14
147
 
151
 
148
   #define BEEPER_PIN                        PC6
152
   #define BEEPER_PIN                        PC6
153
+
149
 #elif ENABLED(VET6_12864_LCD)
154
 #elif ENABLED(VET6_12864_LCD)
150
 
155
 
151
   /* VET6 12864 LCD */
156
   /* VET6 12864 LCD */

Loading…
Cancel
Save