fix: make touch cal default suitable for 2.8 panel

This commit is contained in:
TT 2019-11-17 11:28:50 +09:00
parent 3114df7fe9
commit ed85ca193b

3
main.c
View file

@ -609,7 +609,8 @@ config_t config = {
.menu_normal_color = 0xffff,
.menu_active_color = 0x7777,
.trace_color = { RGB565(0,255,255), RGB565(255,0,40), RGB565(0,0,255), RGB565(50,255,0) },
.touch_cal = { 693, 605, 124, 171 }, //{ 620, 600, 160, 190 },
// .touch_cal = { 693, 605, 124, 171 }, // 2.4 inch LCD panel
.touch_cal = { 338, 522, 153, 192 }, // 2.8 inch LCD panel
.default_loadcal = 0,
.harmonic_freq_threshold = 300000000,
.checksum = 0