summaryrefslogtreecommitdiffstats
path: root/apps/logfdisp.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-01-30 21:12:27 +0000
committerDave Chapman <dave@dchapman.com>2006-01-30 21:12:27 +0000
commit1a4ef4fc0aa7a6257995f5df51f686c726802e5b (patch)
treebdde9aa038fa105d2959fdc8349b61f6183e8dd0 /apps/logfdisp.c
parent733c14d60ee0f16681b10bf230e78089ccd51ec9 (diff)
downloadrockbox-1a4ef4fc0aa7a6257995f5df51f686c726802e5b.tar.gz
rockbox-1a4ef4fc0aa7a6257995f5df51f686c726802e5b.tar.bz2
rockbox-1a4ef4fc0aa7a6257995f5df51f686c726802e5b.zip
Add iPod key binding for the logf viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8494 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/logfdisp.c')
-rw-r--r--apps/logfdisp.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/logfdisp.c b/apps/logfdisp.c
index 2cfec2feb9..00830d3f91 100644
--- a/apps/logfdisp.c
+++ b/apps/logfdisp.c
@@ -30,6 +30,12 @@
#include "menu.h"
#include "logf.h"
+#if CONFIG_KEYPAD == IPOD_4G_PAD
+#define LOGF_BUTTON_QUIT BUTTON_MENU
+#else
+#define LOGF_BUTTON_QUIT BUTTON_OFF
+#endif
+
#ifdef HAVE_LCD_BITMAP
bool logfdisplay(void)
@@ -83,7 +89,7 @@ bool logfdisplay(void)
}
lcd_update();
button = button_get_w_tmo(HZ/2);
- } while(button != BUTTON_OFF);
+ } while(button != LOGF_BUTTON_QUIT);
return false;
}