diff options
Diffstat (limited to 'apps/plugins/flipit.c')
-rw-r--r-- | apps/plugins/flipit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/flipit.c b/apps/plugins/flipit.c index 164949b6dd..4cc7959349 100644 --- a/apps/plugins/flipit.c +++ b/apps/plugins/flipit.c | |||
@@ -52,6 +52,8 @@ PLUGIN_HEADER | |||
52 | #define FLIPIT_TOGGLE_PRE BUTTON_SELECT | 52 | #define FLIPIT_TOGGLE_PRE BUTTON_SELECT |
53 | #define FLIPIT_TOGGLE (BUTTON_SELECT | BUTTON_REL) | 53 | #define FLIPIT_TOGGLE (BUTTON_SELECT | BUTTON_REL) |
54 | 54 | ||
55 | #define FLIPIT_RC_QUIT BUTTON_RC_STOP | ||
56 | |||
55 | #elif (CONFIG_KEYPAD == IPOD_4G_PAD) || \ | 57 | #elif (CONFIG_KEYPAD == IPOD_4G_PAD) || \ |
56 | (CONFIG_KEYPAD == IPOD_3G_PAD) | 58 | (CONFIG_KEYPAD == IPOD_3G_PAD) |
57 | 59 | ||
@@ -336,6 +338,9 @@ static bool flipit_loop(void) { | |||
336 | while(true) { | 338 | while(true) { |
337 | button = rb->button_get(true); | 339 | button = rb->button_get(true); |
338 | switch (button) { | 340 | switch (button) { |
341 | #ifdef FLIPIT_RC_QUIT | ||
342 | case FLIPIT_RC_QUIT: | ||
343 | #endif | ||
339 | case FLIPIT_QUIT: | 344 | case FLIPIT_QUIT: |
340 | /* get out of here */ | 345 | /* get out of here */ |
341 | return PLUGIN_OK; | 346 | return PLUGIN_OK; |