forked from xuos/xiuos
Modify xhci functions for USB core
This commit is contained in:
@@ -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){
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user