Browse Source

🔥 Remove Chitu default Touch Calibration (#22133)

Victor Oliveira 3 years ago
parent
commit
e130aa39c0
No account linked to committer's email address

+ 0
- 17
Marlin/src/pins/stm32f1/pins_CHITU3D_V5.h View File

@@ -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

+ 0
- 17
Marlin/src/pins/stm32f1/pins_CHITU3D_V6.h View File

@@ -165,26 +165,9 @@
165 165
   #define HAS_LOGO_IN_FLASH                    0
166 166
 #elif ENABLED(TFT_COLOR_UI)
167 167
   // Color UI
168
-  #define TFT_DRIVER                     ILI9488
169 168
   #define TFT_BUFFER_SIZE                  14400
170 169
 #endif
171 170
 
172
-// XPT2046 Touch Screen calibration
173
-#if ANY(TFT_LVGL_UI, TFT_COLOR_UI, TFT_CLASSIC_UI)
174
-  #ifndef TOUCH_CALIBRATION_X
175
-    #define TOUCH_CALIBRATION_X           -17181
176
-  #endif
177
-  #ifndef TOUCH_CALIBRATION_Y
178
-    #define TOUCH_CALIBRATION_Y            11434
179
-  #endif
180
-  #ifndef TOUCH_OFFSET_X
181
-    #define TOUCH_OFFSET_X                   501
182
-  #endif
183
-  #ifndef TOUCH_OFFSET_Y
184
-    #define TOUCH_OFFSET_Y                    -9
185
-  #endif
186
-#endif
187
-
188 171
 // SPI1(PA7)=LCD & SPI3(PB5)=STUFF, are not available
189 172
 // so SPI2 is required.
190 173
 #define SPI_DEVICE                             2

Loading…
Cancel
Save