diff options
Diffstat (limited to 'apps/plugins/plasma.c')
-rw-r--r-- | apps/plugins/plasma.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/plasma.c b/apps/plugins/plasma.c index d8be446afb..e2738eceab 100644 --- a/apps/plugins/plasma.c +++ b/apps/plugins/plasma.c | |||
@@ -67,6 +67,9 @@ static int plasma_frequency; | |||
67 | #define PLASMA_QUIT BUTTON_OFF | 67 | #define PLASMA_QUIT BUTTON_OFF |
68 | #define PLASMA_INCREASE_FREQUENCY BUTTON_UP | 68 | #define PLASMA_INCREASE_FREQUENCY BUTTON_UP |
69 | #define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN | 69 | #define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN |
70 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD) | ||
71 | #define PLASMA_RC_QUIT BUTTON_RC_STOP | ||
72 | #endif | ||
70 | #endif | 73 | #endif |
71 | 74 | ||
72 | #ifdef HAVE_LCD_COLOR | 75 | #ifdef HAVE_LCD_COLOR |
@@ -283,6 +286,9 @@ int main(void) | |||
283 | 286 | ||
284 | switch(button) | 287 | switch(button) |
285 | { | 288 | { |
289 | #ifdef PLASMA_RC_QUIT | ||
290 | case PLASMA_RC_QUIT: | ||
291 | #endif | ||
286 | case(PLASMA_QUIT): | 292 | case(PLASMA_QUIT): |
287 | cleanup(NULL); | 293 | cleanup(NULL); |
288 | return PLUGIN_OK; | 294 | return PLUGIN_OK; |