🩹 Fix TFT LCD in Simulation (#24871)

This commit is contained in:
mjbogusz authored and Scott Lahteine committed 2022-12-16 14:09:26 -06:00
1 parent a4d58e8876
commit f39f4d0288
4 files changed
+20 -5

No files matched your search

+13
View File
@@ -450,6 +450,19 @@
#ifndef TOUCH_OFFSET_Y
#define TOUCH_OFFSET_Y 1
#endif
#elif ENABLED(TFT_RES_1024x600)
#ifndef TOUCH_CALIBRATION_X
#define TOUCH_CALIBRATION_X 65533
#endif
#ifndef TOUCH_CALIBRATION_Y
#define TOUCH_CALIBRATION_Y 38399
#endif
#ifndef TOUCH_OFFSET_X
#define TOUCH_OFFSET_X 2
#endif
#ifndef TOUCH_OFFSET_Y
#define TOUCH_OFFSET_Y 1
#endif
#endif
#endif