summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-04-04 11:07:14 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-04-04 11:07:14 +0000
commitec4e9b8d600c53add3c8bf6eb7fe1975dba141a7 (patch)
tree4349ce2823ae1cf2cccc3f9aa4e72ccf57958495 /apps
parent1ca931d17004267892ca29b3ceb63381601df6aa (diff)
downloadrockbox-ec4e9b8d600c53add3c8bf6eb7fe1975dba141a7.tar.gz
rockbox-ec4e9b8d600c53add3c8bf6eb7fe1975dba141a7.tar.bz2
rockbox-ec4e9b8d600c53add3c8bf6eb7fe1975dba141a7.zip
Correct handling of USB events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6245 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/sound_menu.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/sound_menu.c b/apps/sound_menu.c
index 28d2223ec8..48cee349bd 100644
--- a/apps/sound_menu.c
+++ b/apps/sound_menu.c
@@ -790,9 +790,10 @@ bool rectrigger(void)
break;
case SYS_USB_CONNECTED:
- usb_screen();
- retval = true;
- exit_request = true;
+ if(default_event_handler(button) == SYS_USB_CONNECTED) {
+ retval = true;
+ exit_request = true;
+ }
break;
}
}