Skip to content

Commit

Permalink
fix: make touch cal default suitable for 2.8 panel
Browse files Browse the repository at this point in the history
  • Loading branch information
edy555 committed Nov 17, 2019
1 parent 3114df7 commit ed85ca1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed85ca1

Please sign in to comment.