summaryrefslogtreecommitdiff
path: root/apps/plugins/stopwatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/stopwatch.c')
-rw-r--r--apps/plugins/stopwatch.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/stopwatch.c b/apps/plugins/stopwatch.c
index 0aff7e2843..d8204e4082 100644
--- a/apps/plugins/stopwatch.c
+++ b/apps/plugins/stopwatch.c
@@ -63,6 +63,9 @@ PLUGIN_HEADER
63#define STOPWATCH_LAP_TIMER BUTTON_ON 63#define STOPWATCH_LAP_TIMER BUTTON_ON
64#define STOPWATCH_SCROLL_UP BUTTON_RIGHT 64#define STOPWATCH_SCROLL_UP BUTTON_RIGHT
65#define STOPWATCH_SCROLL_DOWN BUTTON_LEFT 65#define STOPWATCH_SCROLL_DOWN BUTTON_LEFT
66
67#define STOPWATCH_RC_QUIT BUTTON_RC_STOP
68
66#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || \ 69#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || \
67 (CONFIG_KEYPAD == IPOD_3G_PAD) 70 (CONFIG_KEYPAD == IPOD_3G_PAD)
68#define STOPWATCH_QUIT BUTTON_MENU 71#define STOPWATCH_QUIT BUTTON_MENU
@@ -200,6 +203,9 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
200 { 203 {
201 204
202 /* exit */ 205 /* exit */
206#ifdef STOPWATCH_RC_QUIT
207 case STOPWATCH_RC_QUIT:
208#endif
203 case STOPWATCH_QUIT: 209 case STOPWATCH_QUIT:
204 done = true; 210 done = true;
205 break; 211 break;