summaryrefslogtreecommitdiffstats
path: root/apps/plugins/alarmclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/alarmclock.c')
-rw-r--r--apps/plugins/alarmclock.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/alarmclock.c b/apps/plugins/alarmclock.c
index ecafceddc7..aa7c13d1a4 100644
--- a/apps/plugins/alarmclock.c
+++ b/apps/plugins/alarmclock.c
@@ -138,7 +138,13 @@ enum plugin_status plugin_start(const void* parameter)
while(!quit) {
button = get_button();
+#if (CONFIG_KEYPAD == IPOD_1G2G_PAD) \
+ || (CONFIG_KEYPAD == IPOD_3G_PAD) \
+ || (CONFIG_KEYPAD == IPOD_4G_PAD)
+ if (button == PLA_EXIT || button == PLA_CANCEL || button == PLA_UP)
+#else
if (button == PLA_EXIT || button == PLA_CANCEL)
+#endif
quit = true;
FOR_NB_SCREENS(i) {