Skip to content

Commit ed85ca1

Browse files
committed
fix: make touch cal default suitable for 2.8 panel
1 parent 3114df7 commit ed85ca1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,8 @@ config_t config = {
609609
.menu_normal_color = 0xffff,
610610
.menu_active_color = 0x7777,
611611
.trace_color = { RGB565(0,255,255), RGB565(255,0,40), RGB565(0,0,255), RGB565(50,255,0) },
612-
.touch_cal = { 693, 605, 124, 171 }, //{ 620, 600, 160, 190 },
612+
// .touch_cal = { 693, 605, 124, 171 }, // 2.4 inch LCD panel
613+
.touch_cal = { 338, 522, 153, 192 }, // 2.8 inch LCD panel
613614
.default_loadcal = 0,
614615
.harmonic_freq_threshold = 300000000,
615616
.checksum = 0

0 commit comments

Comments
 (0)