diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2003-12-12 13:45:08 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2003-12-12 13:45:08 +0000 |
| commit | d0f59105348bfb2d29596ff65b41a3aaeea86432 (patch) | |
| tree | 909a43fbccf852b28c4045799facc859f1bf4e72 /apps | |
| parent | 8e43ccbec69cb5fc1db2b5e65ffd48e00bd308e5 (diff) | |
| download | rockbox-d0f59105348bfb2d29596ff65b41a3aaeea86432.zip rockbox-d0f59105348bfb2d29596ff65b41a3aaeea86432.tar.gz rockbox-d0f59105348bfb2d29596ff65b41a3aaeea86432.tar.bz2 rockbox-d0f59105348bfb2d29596ff65b41a3aaeea86432.tar.xz | |
Make it build without ON button. We should probably allow a different key
on such platforms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4139 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/playlist_viewer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c index 555c9a7..1784d02 100644 --- a/apps/playlist_viewer.c +++ b/apps/playlist_viewer.c @@ -730,6 +730,7 @@ bool playlist_viewer(void) update = true; break; +#ifdef BUTTON_ON #ifdef HAVE_RECORDER_KEYPAD case BUTTON_ON | BUTTON_UP: case BUTTON_ON | BUTTON_UP | BUTTON_REPEAT: @@ -753,6 +754,7 @@ bool playlist_viewer(void) scroll_display(viewer.num_display_lines); update = true; break; +#endif /* BUTTON_ON */ #ifdef HAVE_RECORDER_KEYPAD case BUTTON_RIGHT: @@ -784,6 +786,7 @@ bool playlist_viewer(void) update = true; break; +#ifdef BUTTON_ON case BUTTON_ON | BUTTON_PLAY: { /* ON+PLAY menu */ @@ -808,6 +811,7 @@ bool playlist_viewer(void) update = true; break; } +#endif /* BUTTON_ON */ case SYS_USB_CONNECTED: usb_screen(); return true; |