change usbh class driver open signature
This commit is contained in:
@@ -67,7 +67,7 @@ void ehci_controller_init(void)
|
||||
|
||||
void ehci_controller_control_xfer_proceed(uint8_t dev_addr, uint8_t p_data[])
|
||||
{
|
||||
ehci_registers_t* const regs = get_operational_register( _usbh_devices[dev_addr].core_id );
|
||||
ehci_registers_t* const regs = get_operational_register( _usbh_devices[dev_addr].rhport );
|
||||
ehci_qhd_t * p_qhd = get_control_qhd(dev_addr);
|
||||
ehci_qtd_t * p_qtd_setup = get_control_qtds(dev_addr);
|
||||
ehci_qtd_t * p_qtd_data = p_qtd_setup + 1;
|
||||
@@ -86,7 +86,7 @@ void ehci_controller_control_xfer_proceed(uint8_t dev_addr, uint8_t p_data[])
|
||||
|
||||
regs->usb_sts = EHCI_INT_MASK_NXP_ASYNC | EHCI_INT_MASK_NXP_PERIODIC;
|
||||
|
||||
hcd_isr( _usbh_devices[dev_addr].core_id );
|
||||
hcd_isr( _usbh_devices[dev_addr].rhport );
|
||||
}
|
||||
|
||||
void complete_qtd_in_qhd(ehci_qhd_t *p_qhd)
|
||||
|
||||
Reference in New Issue
Block a user