forked from xuos/xiuos
Modify xhci functions for USB core
This commit is contained in:
parent
a66824c9ad
commit
5d240f93ae
|
@ -852,6 +852,14 @@ failed:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int usbh_get_xhci_devaddr(usbh_pipe_t *pipe)
|
||||||
|
{
|
||||||
|
struct xhci_endpoint *ppipe = (struct xhci_endpoint *)pipe;
|
||||||
|
USB_ASSERT(ppipe && (ppipe->slot));
|
||||||
|
return ppipe->slot->id;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int xhci_usbh_pipe_free(usbh_pipe_t pipe){
|
int xhci_usbh_pipe_free(usbh_pipe_t pipe){
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue