mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2025-12-06 03:31:59 +01:00
fix: make touch cal default suitable for 2.8 panel
This commit is contained in:
parent
3114df7fe9
commit
ed85ca193b
3
main.c
3
main.c
|
|
@ -609,7 +609,8 @@ config_t config = {
|
||||||
.menu_normal_color = 0xffff,
|
.menu_normal_color = 0xffff,
|
||||||
.menu_active_color = 0x7777,
|
.menu_active_color = 0x7777,
|
||||||
.trace_color = { RGB565(0,255,255), RGB565(255,0,40), RGB565(0,0,255), RGB565(50,255,0) },
|
.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,
|
.default_loadcal = 0,
|
||||||
.harmonic_freq_threshold = 300000000,
|
.harmonic_freq_threshold = 300000000,
|
||||||
.checksum = 0
|
.checksum = 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue