mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 18:01:07 +00:00
[USBPORT] Correcting USB2_GetStartTime().
This commit is contained in:
parent
7553e54199
commit
2be475db5d
|
@ -251,13 +251,11 @@ USB2_GetStartTime(IN PUSB2_TT_ENDPOINT nextTtEndpoint,
|
|||
|
||||
TransferType = TtEndpoint->TtEndpointParams.TransferType;
|
||||
|
||||
if (nextTtEndpoint && TransferType == USBPORT_TRANSFER_TYPE_ISOCHRONOUS)
|
||||
{
|
||||
return nextTtEndpoint->StartTime + nextTtEndpoint->CalcBusTime;
|
||||
}
|
||||
|
||||
if (TransferType == USBPORT_TRANSFER_TYPE_ISOCHRONOUS)
|
||||
{
|
||||
if (nextTtEndpoint)
|
||||
return nextTtEndpoint->StartTime + nextTtEndpoint->CalcBusTime;
|
||||
|
||||
ttEndpoint = TtEndpoint->Tt->FrameBudget[Frame].AltEndpoint;
|
||||
|
||||
if (ttEndpoint)
|
||||
|
|
Loading…
Reference in a new issue