diff options
Diffstat (limited to 'apps')
-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 @@ | |||
45 | #define ICON_BORDER 12 | 45 | #define ICON_BORDER 12 |
46 | 46 | ||
47 | static int pitch_mode = PITCH_MODE_ABSOLUTE; /* 1 - absolute, -1 - semitone */ | 47 | static int pitch_mode = PITCH_MODE_ABSOLUTE; /* 1 - absolute, -1 - semitone */ |
48 | enum PITCHSCREEN_VALUES | 48 | #define PITCH_MAX 2000 |
49 | { | 49 | #define PITCH_MIN 500 |
50 | PITCH_SMALL_DELTA = 1, | 50 | #define PITCH_SMALL_DELTA 1 |
51 | PITCH_BIG_DELTA = 10, | 51 | #define PITCH_BIG_DELTA 10 |
52 | PITCH_NUDGE_DELTA = 20, | 52 | #define PITCH_NUDGE_DELTA 20 |
53 | PITCH_MIN = 500, | ||
54 | PITCH_MAX = 2000, | ||
55 | }; | ||
56 | 53 | ||
57 | enum PITCHSCREEN_ITEMS | 54 | enum |
58 | { | 55 | { |
59 | PITCH_TOP = 0, | 56 | PITCH_TOP = 0, |
60 | PITCH_MID, | 57 | PITCH_MID, |