diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-10-05 13:13:55 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-10-05 13:13:55 +0000 |
commit | 6a81923e6e579b0af1ac7b781d2ca209e04acb71 (patch) | |
tree | ced544158261afa85908707d917311ba60fe55c1 | |
parent | 1da2f0112e2ef3142c9da8d8bcaf72f6b07ac932 (diff) | |
download | rockbox-6a81923e6e579b0af1ac7b781d2ca209e04acb71.tar.gz rockbox-6a81923e6e579b0af1ac7b781d2ca209e04acb71.zip |
bit of code police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18715 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/gui/pitchscreen.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/apps/gui/pitchscreen.c b/apps/gui/pitchscreen.c index 0cdbeb10f2..ac74c22652 100644 --- a/apps/gui/pitchscreen.c +++ b/apps/gui/pitchscreen.c @@ -45,16 +45,13 @@ #define ICON_BORDER 12 static int pitch_mode = PITCH_MODE_ABSOLUTE; /* 1 - absolute, -1 - semitone */ -enum PITCHSCREEN_VALUES -{ - PITCH_SMALL_DELTA = 1, - PITCH_BIG_DELTA = 10, - PITCH_NUDGE_DELTA = 20, - PITCH_MIN = 500, - PITCH_MAX = 2000, -}; +#define PITCH_MAX 2000 +#define PITCH_MIN 500 +#define PITCH_SMALL_DELTA 1 +#define PITCH_BIG_DELTA 10 +#define PITCH_NUDGE_DELTA 20 -enum PITCHSCREEN_ITEMS +enum { PITCH_TOP = 0, PITCH_MID, |