summaryrefslogtreecommitdiffstats
path: root/apps/plugins/rockboy/sys_rockbox.c
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-03-03 20:06:08 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-03-03 20:06:08 +0000
commite5f93069ea7c280ac3916e560469aee314edd062 (patch)
treed093ca6df4aaac65f2b6ead73897fc27b0e3f5e4 /apps/plugins/rockboy/sys_rockbox.c
parent31f215ea39006a0d8e7f8308f56c2ab135e3aa28 (diff)
downloadrockbox-e5f93069ea7c280ac3916e560469aee314edd062.tar.gz
rockbox-e5f93069ea7c280ac3916e560469aee314edd062.tar.bz2
rockbox-e5f93069ea7c280ac3916e560469aee314edd062.zip
forgot an #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6122 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/sys_rockbox.c')
-rw-r--r--apps/plugins/rockboy/sys_rockbox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/rockboy/sys_rockbox.c b/apps/plugins/rockboy/sys_rockbox.c
index 6973a43664..a8f79ce9ae 100644
--- a/apps/plugins/rockboy/sys_rockbox.c
+++ b/apps/plugins/rockboy/sys_rockbox.c
@@ -81,7 +81,9 @@ void ev_poll(void)
released = ~newbuttonstate & oldbuttonstate;
pressed = newbuttonstate & ~oldbuttonstate;
oldbuttonstate = newbuttonstate;
+#if CONFIG_KEYPAD == IRIVER_H100_PAD
fb.mode=rb->button_hold();
+#endif
if(released) {
ev.type = EV_RELEASE;
if(released & BUTTON_LEFT) { ev.code=PAD_LEFT; ev_postevent(&ev); }