diff --git a/main.c b/main.c index 691cb65..d144b37 100644 --- a/main.c +++ b/main.c @@ -2204,11 +2204,10 @@ typedef struct version_t { #define MAX_VERSION_TEXT 5 const version_t hw_version_text[MAX_VERSION_TEXT] = { - { 165, 179, "V0.4.5.1", 1, 0, "ZS405"}, - { 180, 195, "V0.4.5.1.1", 2, 0, "ZS405"}, + { 165, 179, "V0.4.5.1", 1, 0, " ZS405"}, + { 180, 195, "V0.4.5.1.1", 2, 0, " ZS405"}, { 250, 350, "V0.4.6", 3, 1, "+ ZS406"}, - { 2030, 2040, "V0.5.2", 102, 1, "+ ZS407"}, - { 2240, 2260, "V0.5.4", 103, 1, "+ ZS407"}, + { 2200, 2299, "V0.5.4", 103, 1, "+ ZS407"}, }; uint16_t hwid = 0; diff --git a/nanovna.h b/nanovna.h index 3264926..f050ba8 100644 --- a/nanovna.h +++ b/nanovna.h @@ -1495,7 +1495,7 @@ typedef struct properties { //sizeof(properties_t) == 0x1200 -#define CONFIG_MAGIC 0x434f4e6d +#define CONFIG_MAGIC 0x434f4e6e #define SETTING_MAGIC 0x434f4e6d extern int16_t lastsaveid; diff --git a/plot.c b/plot.c index b3865cf..1636e50 100644 --- a/plot.c +++ b/plot.c @@ -2242,9 +2242,9 @@ static void update_level_meter(void){ // if (area_width-minimum_text_width > 0) // ili9341_fill(OFFSETX+minimum_text_width, graph_bottom+1, area_width-minimum_text_width, CHART_BOTTOM - graph_bottom); ili9341_set_foreground(LCD_FG_COLOR); - int x_max = area_width+OFFSETX; + int x_max = area_width+OFFSETX-1; #ifdef TINYSA4 - int BIG_SIZE = (auto_capture?2:4); + int BIG_SIZE = (auto_capture?2:3); #else #define BIG_SIZE 2 #endif