mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:42:57 +00:00
[USBPORT] Correcting USB2_GetStartTime().
This commit is contained in:
parent
7553e54199
commit
2be475db5d
1 changed files with 3 additions and 5 deletions
|
@ -251,13 +251,11 @@ USB2_GetStartTime(IN PUSB2_TT_ENDPOINT nextTtEndpoint,
|
||||||
|
|
||||||
TransferType = TtEndpoint->TtEndpointParams.TransferType;
|
TransferType = TtEndpoint->TtEndpointParams.TransferType;
|
||||||
|
|
||||||
if (nextTtEndpoint && TransferType == USBPORT_TRANSFER_TYPE_ISOCHRONOUS)
|
|
||||||
{
|
|
||||||
return nextTtEndpoint->StartTime + nextTtEndpoint->CalcBusTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (TransferType == USBPORT_TRANSFER_TYPE_ISOCHRONOUS)
|
if (TransferType == USBPORT_TRANSFER_TYPE_ISOCHRONOUS)
|
||||||
{
|
{
|
||||||
|
if (nextTtEndpoint)
|
||||||
|
return nextTtEndpoint->StartTime + nextTtEndpoint->CalcBusTime;
|
||||||
|
|
||||||
ttEndpoint = TtEndpoint->Tt->FrameBudget[Frame].AltEndpoint;
|
ttEndpoint = TtEndpoint->Tt->FrameBudget[Frame].AltEndpoint;
|
||||||
|
|
||||||
if (ttEndpoint)
|
if (ttEndpoint)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue