diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2012-06-18 00:32:15 +0200 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2012-06-18 00:32:15 +0200 |
commit | 7292254053623f01405c8bf4522547fe639b080c (patch) | |
tree | ec52a3ae3c023156c74a92a1671236204a5422a4 | |
parent | 74af18ebf5d155a53268ec4ef41be3c1bbd85bac (diff) | |
download | rockbox-7292254053623f01405c8bf4522547fe639b080c.tar.gz rockbox-7292254053623f01405c8bf4522547fe639b080c.zip |
Remove #ifdef USB_FULL_INIT from sim_tasks.c to make usb_wait_for_disconnect work
Change-Id: I5976da266c60501820a359be8e3e40a3edb738c7
-rw-r--r-- | uisimulator/common/sim_tasks.c | 3 |
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) | |||
145 | 145 | ||
146 | void usb_wait_for_disconnect(struct event_queue *q) | 146 | void usb_wait_for_disconnect(struct event_queue *q) |
147 | { | 147 | { |
148 | #ifdef USB_FULL_INIT | ||
149 | struct queue_event ev; | 148 | struct queue_event ev; |
150 | 149 | ||
151 | /* Don't return until we get SYS_USB_DISCONNECTED */ | 150 | /* Don't return until we get SYS_USB_DISCONNECTED */ |
@@ -155,6 +154,4 @@ void usb_wait_for_disconnect(struct event_queue *q) | |||
155 | if(ev.id == SYS_USB_DISCONNECTED) | 154 | if(ev.id == SYS_USB_DISCONNECTED) |
156 | return; | 155 | return; |
157 | } | 156 | } |
158 | #endif /* USB_FULL_INIT */ | ||
159 | (void)q; | ||
160 | } | 157 | } |