Fix default touch calibration for 2.8 screen

pull/52/head
DiSlord Live 3 years ago
parent 713c03eded
commit 71d231c2c4

@ -960,7 +960,7 @@ config_t config = {
.dac_value = 1922, .dac_value = 1922,
// .touch_cal = { 693, 605, 124, 171 }, // 2.4 inch LCD panel // .touch_cal = { 693, 605, 124, 171 }, // 2.4 inch LCD panel
#ifdef TINYSA3 #ifdef TINYSA3
.touch_cal = { 347, 495, 160, 205 }, // 2.8 inch LCD panel .touch_cal = { 534, 741, 3458, 3434 }, // 2.8 inch LCD panel
#endif #endif
#ifdef TINYSA4 #ifdef TINYSA4
.touch_cal = { 444, 715, 3552, 3499 }, // 4 inch panel .touch_cal = { 444, 715, 3552, 3499 }, // 4 inch panel

@ -1384,7 +1384,7 @@ typedef struct properties {
//sizeof(properties_t) == 0x1200 //sizeof(properties_t) == 0x1200
#define CONFIG_MAGIC 0x434f4e5D /* 'CONF' */ #define CONFIG_MAGIC 0x434f4e5F /* 'CONF' */
extern int16_t lastsaveid; extern int16_t lastsaveid;
//extern properties_t *active_props; //extern properties_t *active_props;

Loading…
Cancel
Save

Powered by TurnKey Linux.