summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/pitchscreen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/pitchscreen.c b/apps/gui/pitchscreen.c
index bbf29489b5..5b77294ca5 100644
--- a/apps/gui/pitchscreen.c
+++ b/apps/gui/pitchscreen.c
@@ -319,7 +319,7 @@ int gui_syncpitchscreen_run(void)
319 int maintain_speed_pitch = speed * pitch; /* speed * pitch to maintain */ 319 int maintain_speed_pitch = speed * pitch; /* speed * pitch to maintain */
320#endif 320#endif
321 int new_pitch; 321 int new_pitch;
322 int pitch_delta = 0; 322 int pitch_delta;
323 bool nudged = false; 323 bool nudged = false;
324 bool exit = false; 324 bool exit = false;
325 /* should maybe be passed per parameter later, not needed for now */ 325 /* should maybe be passed per parameter later, not needed for now */
@@ -351,6 +351,7 @@ int gui_syncpitchscreen_run(void)
351 , speed 351 , speed
352#endif 352#endif
353 ); 353 );
354 pitch_delta = 0;
354 button = get_action(CONTEXT_PITCHSCREEN, HZ); 355 button = get_action(CONTEXT_PITCHSCREEN, HZ);
355 switch (button) 356 switch (button)
356 { 357 {
@@ -490,7 +491,6 @@ int gui_syncpitchscreen_run(void)
490 else 491 else
491 maintain_speed_pitch = speed * pitch; 492 maintain_speed_pitch = speed * pitch;
492#endif 493#endif
493 pitch_delta = 0;
494 } 494 }
495 } 495 }
496#if CONFIG_CODEC == SWCODEC 496#if CONFIG_CODEC == SWCODEC