summaryrefslogtreecommitdiff
path: root/apps/plugins/vu_meter.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/vu_meter.c')
-rw-r--r--apps/plugins/vu_meter.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/vu_meter.c b/apps/plugins/vu_meter.c
index d903f97146..d97c834363 100644
--- a/apps/plugins/vu_meter.c
+++ b/apps/plugins/vu_meter.c
@@ -58,6 +58,8 @@ PLUGIN_HEADER
58#define VUMETER_UP BUTTON_UP 58#define VUMETER_UP BUTTON_UP
59#define VUMETER_DOWN BUTTON_DOWN 59#define VUMETER_DOWN BUTTON_DOWN
60 60
61#define VUMETER_RC_QUIT BUTTON_RC_STOP
62
61#elif (CONFIG_KEYPAD == IPOD_3G_PAD) || \ 63#elif (CONFIG_KEYPAD == IPOD_3G_PAD) || \
62 (CONFIG_KEYPAD == IPOD_4G_PAD) 64 (CONFIG_KEYPAD == IPOD_4G_PAD)
63#define VUMETER_QUIT BUTTON_MENU 65#define VUMETER_QUIT BUTTON_MENU
@@ -521,6 +523,9 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) {
521 button = rb->button_get_w_tmo(1); 523 button = rb->button_get_w_tmo(1);
522 switch (button) 524 switch (button)
523 { 525 {
526#ifdef VUMETER_RC_QUIT
527 case VUMETER_RC_QUIT:
528#endif
524 case VUMETER_QUIT: 529 case VUMETER_QUIT:
525 save_settings(); 530 save_settings();
526 return PLUGIN_OK; 531 return PLUGIN_OK;