update usbh_xfer_isr to take actual byte transferred and correct tests

This commit is contained in:
hathach
2013-07-02 17:37:55 +07:00
parent e1ad7b62cf
commit 539c7cdbe1
7 changed files with 14 additions and 11 deletions
+1
View File
@@ -95,6 +95,7 @@ void complete_qtd_in_qhd(ehci_qhd_t *p_qhd)
{
ehci_qtd_t* p_qtd = (ehci_qtd_t*) align32(p_qhd->qtd_overlay.next.address);
p_qtd->active = 0;
p_qtd->total_bytes = 0;
p_qhd->qtd_overlay = *p_qtd;
}
}