diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-26 16:06:59 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-26 16:06:59 +0000 |
| commit | ade5d7b848bf9c0d46bb14c85528453f969c9429 (patch) | |
| tree | 197aa919b9a3c2a89f77d12b01cc1c2c23f7e37f /apps/recorder/radio.c | |
| parent | 3d91885718a1fb9d6d55f07f67a9a1942a352c5e (diff) | |
| download | rockbox-ade5d7b848bf9c0d46bb14c85528453f969c9429.zip rockbox-ade5d7b848bf9c0d46bb14c85528453f969c9429.tar.gz rockbox-ade5d7b848bf9c0d46bb14c85528453f969c9429.tar.bz2 rockbox-ade5d7b848bf9c0d46bb14c85528453f969c9429.tar.xz | |
First step in revamping the USB event handling, paving the way for the upcoming SYS_POWER_OFF event
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4951 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/radio.c')
| -rw-r--r-- | apps/recorder/radio.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index 3684723..e26ac5b 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c @@ -416,13 +416,17 @@ bool radio_screen(void) /* Only accept USB connection when not recording */ if(mpeg_status() != MPEG_STATUS_RECORD) { - usb_screen(); + default_event_handler(SYS_USB_CONNECTED); fmradio_set_status(0); screen_freeze = true; /* Cosmetic: makes sure the radio screen doesn't redraw */ done = true; } break; + + default: + default_event_handler(button); + break; } peak_meter_peek(); |