diff options
author | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-09-10 13:19:41 +0000 |
---|---|---|
committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-09-10 13:19:41 +0000 |
commit | d4e527b8110e2a52ea1d34258929763daf99aa81 (patch) | |
tree | 222b82d81810dec53de2caecc4cfbd1ea6f285d9 /apps/recorder | |
parent | 3f0e64126e1a568765d46408a1f9d8eee879db29 (diff) | |
download | rockbox-d4e527b8110e2a52ea1d34258929763daf99aa81.tar.gz rockbox-d4e527b8110e2a52ea1d34258929763daf99aa81.zip |
temporary hacks to make it compile with the Ondio (=Player) keypad. No influence for the other platforms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5060 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/keyboard.c | 3 | ||||
-rw-r--r-- | apps/recorder/radio.c | 3 | ||||
-rw-r--r-- | apps/recorder/recording.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index 8acccdafd1..1c9ba7bed4 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c @@ -240,6 +240,7 @@ int kbd_input(char* text, int buflen) kbd_spellchar(line[y][x]); break; +#if (BUTTON_UP != BUTTON_PLAY) /* FixMe, this is just to make the Ondio compile */ case BUTTON_UP: case BUTTON_UP | BUTTON_REPEAT: if (y) @@ -248,7 +249,7 @@ int kbd_input(char* text, int buflen) y = KEYBOARD_LINES - 1; kbd_spellchar(line[y][x]); break; - +#endif case BUTTON_F3: case BUTTON_F3 | BUTTON_REPEAT: /* backspace */ diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index d34503b666..6b056dfe31 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c @@ -398,6 +398,7 @@ bool radio_screen(void) update_screen = true; break; +#if (BUTTON_UP != BUTTON_PLAY) /* FixMe, this is just to make the Ondio compile */ case BUTTON_PLAY: if(!screen_freeze) { @@ -411,7 +412,7 @@ bool radio_screen(void) screen_freeze = false; } break; - +#endif case SYS_USB_CONNECTED: /* Only accept USB connection when not recording */ if(mpeg_status() != MPEG_STATUS_RECORD) diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 20b5fa016f..392f20d9ed 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c @@ -280,12 +280,13 @@ bool recording_screen(void) } break; +#if (BUTTON_UP != BUTTON_PLAY) /* FixMe, this is just to make the Ondio compile */ case BUTTON_UP: cursor--; adjust_cursor(); update_countdown = 1; /* Update immediately */ break; - +#endif case BUTTON_DOWN: cursor++; adjust_cursor(); |