summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2008-04-27 16:13:18 +0000
committerRob Purchase <shotofadds@rockbox.org>2008-04-27 16:13:18 +0000
commit3fa414d9591ddeb1b5971d16581ce75e4a53997a (patch)
tree6943b2442bca0c7579ae486c76bfeea84b911e6b /apps/plugins
parent297e0504dad929f8990a654c4bc7a3e891ff41cb (diff)
Fix red (#ifdef hell).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17262 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/plasma.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/apps/plugins/plasma.c b/apps/plugins/plasma.c
index 3090e1a2d0..e8ae7645b4 100644
--- a/apps/plugins/plasma.c
+++ b/apps/plugins/plasma.c
@@ -100,7 +100,6 @@ static int plasma_frequency;
#elif (CONFIG_KEYPAD == COWOND2_PAD)
#define PLASMA_QUIT BUTTON_POWER
-// the new button definitions should be placed here
#endif
#ifdef HAVE_TOUCHPAD
@@ -113,10 +112,8 @@ static int plasma_frequency;
#ifndef PLASMA_DECREASE_FREQUENCY
#define PLASMA_DECREASE_FREQUENCY BUTTON_MIDLEFT
#endif
+#endif /* HAVE_TOUCHPAD */
-#endif
-
-// if no button definitions specified and no touchpad use default
#ifndef PLASMA_QUIT
#define PLASMA_QUIT BUTTON_OFF
#endif
@@ -130,7 +127,6 @@ static int plasma_frequency;
#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)
#define PLASMA_RC_QUIT BUTTON_RC_STOP
#endif
-#endif
#ifdef HAVE_LCD_COLOR
#if CONFIG_KEYPAD == IAUDIO_X5M5_PAD
@@ -153,7 +149,8 @@ static int plasma_frequency;
#ifndef PLASMA_REGEN_COLORS
#define PLASMA_REGEN_COLORS BUTTON_CENTER
#endif
-#endif
+#endif /* HAVE_TOUCHPAD */
+#endif /* HAVE_LCD_COLOR */
#define WAV_AMP 90