From 6a81923e6e579b0af1ac7b781d2ca209e04acb71 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 5 Oct 2008 13:13:55 +0000 Subject: bit of code police git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18715 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/pitchscreen.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'apps') 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, -- cgit v1.2.3