summaryrefslogtreecommitdiffstats
path: root/apps/gui/pitchscreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/pitchscreen.c')
-rw-r--r--apps/gui/pitchscreen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/pitchscreen.c b/apps/gui/pitchscreen.c
index 8f542e8f27..7de65bc36e 100644
--- a/apps/gui/pitchscreen.c
+++ b/apps/gui/pitchscreen.c
@@ -623,10 +623,11 @@ int gui_syncpitchscreen_run(void)
/* initialize pitchscreen vps */
FOR_NB_SCREENS(i)
{
- screens[i].clear_display();
viewport_set_defaults(&parent[i], i);
max_lines[i] = viewport_get_nb_lines(&parent[i]);
pitchscreen_fix_viewports(&parent[i], pitch_viewports[i]);
+ screens[i].set_viewport(&parent[i]);
+ screens[i].clear_viewport();
/* also, draw the icons now, it's only needed once */
pitchscreen_draw_icons(&screens[i], &parent[i]);