diff options
| author | Alexander Levin <al.le@rockbox.org> | 2009-06-19 11:23:02 +0000 |
|---|---|---|
| committer | Alexander Levin <al.le@rockbox.org> | 2009-06-19 11:23:02 +0000 |
| commit | 02a3740596ef4d80e39aa9399f2b7d835b890830 (patch) | |
| tree | b0d446779037aa9df72571e0ee39ec1e661f8f0e | |
| parent | 498ad469c9a6cab6843bacb0126afee2219fa2e5 (diff) | |
| download | rockbox-02a3740596ef4d80e39aa9399f2b7d835b890830.zip rockbox-02a3740596ef4d80e39aa9399f2b7d835b890830.tar.gz rockbox-02a3740596ef4d80e39aa9399f2b7d835b890830.tar.bz2 rockbox-02a3740596ef4d80e39aa9399f2b7d835b890830.tar.xz | |
Slightly rearrange statements. No functional change but RAM and binary are reduced.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21350 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/gui/pitchscreen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/pitchscreen.c b/apps/gui/pitchscreen.c index bbf2948..5b77294 100644 --- a/apps/gui/pitchscreen.c +++ b/apps/gui/pitchscreen.c @@ -319,7 +319,7 @@ int gui_syncpitchscreen_run(void) int maintain_speed_pitch = speed * pitch; /* speed * pitch to maintain */ #endif int new_pitch; - int pitch_delta = 0; + int pitch_delta; bool nudged = false; bool exit = false; /* should maybe be passed per parameter later, not needed for now */ @@ -351,6 +351,7 @@ int gui_syncpitchscreen_run(void) , speed #endif ); + pitch_delta = 0; button = get_action(CONTEXT_PITCHSCREEN, HZ); switch (button) { @@ -490,7 +491,6 @@ int gui_syncpitchscreen_run(void) else maintain_speed_pitch = speed * pitch; #endif - pitch_delta = 0; } } #if CONFIG_CODEC == SWCODEC |