Repaired big number

pull/139/head
erikkaashoek 1 year ago
parent 4ecd384698
commit ac8db4e46a

@ -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;

@ -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;

@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.