Browse Source

Merge pull request #30 from WMXZ-EU/master

Correct queue_Data_Transfer
main
Paul Stoffregen 5 years ago
parent
commit
68d262eca1
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ehci.cpp

+ 1
- 1
ehci.cpp View File

transfer = allocate_Transfer(); transfer = allocate_Transfer();
if (!transfer) return false; if (!transfer) return false;
data = transfer; data = transfer;
for (count=(len >> 14); count; count--) {
for (count=((len-1) >> 14); count; count--) {
next = allocate_Transfer(); next = allocate_Transfer();
if (!next) { if (!next) {
// free already-allocated qTDs // free already-allocated qTDs

Loading…
Cancel
Save