mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2025-12-06 03:31:59 +01:00
omit redraw_all to fix to be ignored first push
This commit is contained in:
parent
c121731b04
commit
8ce6b7b6e0
|
|
@ -205,6 +205,7 @@ typedef struct {
|
|||
|
||||
void plot_init(void);
|
||||
void update_grid(void);
|
||||
void clear_screen(void);
|
||||
void redraw(void);
|
||||
void redraw_all(void);
|
||||
void force_draw_cells(void);
|
||||
|
|
|
|||
6
plot.c
6
plot.c
|
|
@ -1378,6 +1378,12 @@ draw_cal_status(void)
|
|||
}
|
||||
|
||||
|
||||
void
|
||||
clear_screen(void)
|
||||
{
|
||||
ili9341_fill(0, 0, 320, 240, 0);
|
||||
}
|
||||
|
||||
void
|
||||
redraw(void)
|
||||
{
|
||||
|
|
|
|||
11
ui.c
11
ui.c
|
|
@ -467,7 +467,7 @@ menu_trace_cb(int item)
|
|||
uistat.current_trace = item;
|
||||
menu_move_back();
|
||||
ui_mode_normal();
|
||||
redraw_all();
|
||||
//redraw_all();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -493,7 +493,7 @@ menu_format_cb(int item)
|
|||
}
|
||||
|
||||
ui_mode_normal();
|
||||
redraw_all();
|
||||
//redraw_all();
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -566,7 +566,7 @@ menu_trace_op_cb(int item)
|
|||
}
|
||||
menu_move_back();
|
||||
ui_mode_normal();
|
||||
redraw_all();
|
||||
//redraw_all();
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -623,7 +623,7 @@ menu_marker_op_cb(int item)
|
|||
break;
|
||||
}
|
||||
ui_mode_normal();
|
||||
redraw_all();
|
||||
//redraw_all();
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -1325,8 +1325,9 @@ ui_process_keypad(void)
|
|||
}
|
||||
}
|
||||
|
||||
clear_screen();
|
||||
ui_mode_normal();
|
||||
redraw_all();
|
||||
//redraw_all();
|
||||
touch_start_watchdog();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue