Remove #ifdef USB_FULL_INIT from sim_tasks.c to make usb_wait_for_disconnect work
Change-Id: I5976da266c60501820a359be8e3e40a3edb738c7
This commit is contained in:
parent
74af18ebf5
commit
7292254053
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue