diff --git a/main.c b/main.c index d585c6b..c9c6118 100644 --- a/main.c +++ b/main.c @@ -960,7 +960,7 @@ config_t config = { .dac_value = 1922, // .touch_cal = { 693, 605, 124, 171 }, // 2.4 inch LCD panel #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 #ifdef TINYSA4 .touch_cal = { 444, 715, 3552, 3499 }, // 4 inch panel diff --git a/nanovna.h b/nanovna.h index d50b145..c603e78 100644 --- a/nanovna.h +++ b/nanovna.h @@ -1384,7 +1384,7 @@ typedef struct properties { //sizeof(properties_t) == 0x1200 -#define CONFIG_MAGIC 0x434f4e5D /* 'CONF' */ +#define CONFIG_MAGIC 0x434f4e5F /* 'CONF' */ extern int16_t lastsaveid; //extern properties_t *active_props;