summaryrefslogtreecommitdiff
path: root/apps/gui/pitchscreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/pitchscreen.c')
-rw-r--r--apps/gui/pitchscreen.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/gui/pitchscreen.c b/apps/gui/pitchscreen.c
index 5b77294ca5..cd970d795d 100644
--- a/apps/gui/pitchscreen.c
+++ b/apps/gui/pitchscreen.c
@@ -113,7 +113,7 @@ static void pitchscreen_draw(struct screen *display, int max_lines,
113 struct viewport pitch_viewports[PITCH_ITEM_COUNT], 113 struct viewport pitch_viewports[PITCH_ITEM_COUNT],
114 int pitch 114 int pitch
115#if CONFIG_CODEC == SWCODEC 115#if CONFIG_CODEC == SWCODEC
116 ,int speed 116 ,int speedxpitch
117#endif 117#endif
118 ) 118 )
119{ 119{
@@ -195,7 +195,8 @@ static void pitchscreen_draw(struct screen *display, int max_lines,
195 else 195 else
196 { 196 {
197 /* "Speed:XXX%" */ 197 /* "Speed:XXX%" */
198 snprintf(buf, sizeof(buf), "%s:%d%%", str(LANG_SPEED), speed); 198 snprintf(buf, sizeof(buf), "%s:%d%%", str(LANG_SPEED),
199 speedxpitch / 1000);
199 } 200 }
200#endif 201#endif
201 display->getstringsize(buf, &w, &h); 202 display->getstringsize(buf, &w, &h);
@@ -348,7 +349,7 @@ int gui_syncpitchscreen_run(void)
348 pitchscreen_draw(&screens[i], max_lines[i], 349 pitchscreen_draw(&screens[i], max_lines[i],
349 pitch_viewports[i], pitch 350 pitch_viewports[i], pitch
350#if CONFIG_CODEC == SWCODEC 351#if CONFIG_CODEC == SWCODEC
351 , speed 352 , maintain_speed_pitch
352#endif 353#endif
353 ); 354 );
354 pitch_delta = 0; 355 pitch_delta = 0;