diff options
| author | hathach <[email protected]> | 2013-07-02 17:37:55 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-07-02 17:37:55 +0700 |
| commit | 539c7cdbe16d7805eac053a6779f509a4c9b4c68 (patch) | |
| tree | c6dd166cb24c60c17dbe33ee78c25a0811300465 /tests/support | |
| parent | e1ad7b62cf453735b3f8b9d97abe2b3e6579a099 (diff) | |
update usbh_xfer_isr to take actual byte transferred and correct tests
Diffstat (limited to 'tests/support')
| -rw-r--r-- | tests/support/ehci_controller_fake.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/support/ehci_controller_fake.c b/tests/support/ehci_controller_fake.c index d22f8cd09..51f149591 100644 --- a/tests/support/ehci_controller_fake.c +++ b/tests/support/ehci_controller_fake.c @@ -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; } } |
