summaryrefslogtreecommitdiffstats
path: root/uisimulator/common
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2012-06-18 00:32:15 +0200
committerBertrik Sikken <bertrik@sikken.nl>2012-06-18 00:32:15 +0200
commit7292254053623f01405c8bf4522547fe639b080c (patch)
treeec52a3ae3c023156c74a92a1671236204a5422a4 /uisimulator/common
parent74af18ebf5d155a53268ec4ef41be3c1bbd85bac (diff)
downloadrockbox-7292254053623f01405c8bf4522547fe639b080c.tar.gz
rockbox-7292254053623f01405c8bf4522547fe639b080c.tar.bz2
rockbox-7292254053623f01405c8bf4522547fe639b080c.zip
Remove #ifdef USB_FULL_INIT from sim_tasks.c to make usb_wait_for_disconnect work
Change-Id: I5976da266c60501820a359be8e3e40a3edb738c7
Diffstat (limited to 'uisimulator/common')
-rw-r--r--uisimulator/common/sim_tasks.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/uisimulator/common/sim_tasks.c b/uisimulator/common/sim_tasks.c
index 3f7a3ce3f9..46e893b437 100644
--- a/uisimulator/common/sim_tasks.c
+++ b/uisimulator/common/sim_tasks.c
@@ -145,7 +145,6 @@ void usb_acknowledge(long id)
void usb_wait_for_disconnect(struct event_queue *q)
{
-#ifdef USB_FULL_INIT
struct queue_event ev;
/* Don't return until we get SYS_USB_DISCONNECTED */
@@ -155,6 +154,4 @@ void usb_wait_for_disconnect(struct event_queue *q)
if(ev.id == SYS_USB_DISCONNECTED)
return;
}
-#endif /* USB_FULL_INIT */
- (void)q;
}