mirror of
https://github.com/reactos/reactos.git
synced 2026-06-09 09:23:04 +08:00
[USBPORT] Correcting USB2_GetStartTime().
This commit is contained in:
committed by
Amine Khaldi
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)
|
||||
|
||||
Reference in New Issue
Block a user