Remove #ifdef USB_FULL_INIT from sim_tasks.c to make usb_wait_for_disconnect work

Change-Id: I5976da266c60501820a359be8e3e40a3edb738c7
This commit is contained in:
Bertrik Sikken 2012-06-18 00:32:15 +02:00
parent 74af18ebf5
commit 7292254053

View file

@ -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;
}