|
@@ -150,26 +150,9 @@
|
150
|
150
|
#define HAS_LOGO_IN_FLASH 0
|
151
|
151
|
#elif ENABLED(TFT_COLOR_UI)
|
152
|
152
|
// Color UI
|
153
|
|
- #define TFT_DRIVER ILI9488
|
154
|
153
|
#define TFT_BUFFER_SIZE 14400
|
155
|
154
|
#endif
|
156
|
155
|
|
157
|
|
-// XPT2046 Touch Screen calibration
|
158
|
|
-#if ANY(TFT_LVGL_UI, TFT_COLOR_UI, TFT_CLASSIC_UI)
|
159
|
|
- #ifndef TOUCH_CALIBRATION_X
|
160
|
|
- #define TOUCH_CALIBRATION_X -17181
|
161
|
|
- #endif
|
162
|
|
- #ifndef TOUCH_CALIBRATION_Y
|
163
|
|
- #define TOUCH_CALIBRATION_Y 11434
|
164
|
|
- #endif
|
165
|
|
- #ifndef TOUCH_OFFSET_X
|
166
|
|
- #define TOUCH_OFFSET_X 501
|
167
|
|
- #endif
|
168
|
|
- #ifndef TOUCH_OFFSET_Y
|
169
|
|
- #define TOUCH_OFFSET_Y -9
|
170
|
|
- #endif
|
171
|
|
-#endif
|
172
|
|
-
|
173
|
156
|
// SPI1(PA7)=LCD & SPI3(PB5)=STUFF, are not available
|
174
|
157
|
// Needs to use SPI2
|
175
|
158
|
#define SPI_DEVICE 2
|