if (Rebalance->RebalanceEndpoint[Num] &&
TtEndpoint->TtEndpointParams.EndpointMoved == TRUE &&
- (TransferType != USBPORT_TRANSFER_TYPE_INTERRUPT || BusTime >= 0))
+ ((TransferType != USBPORT_TRANSFER_TYPE_INTERRUPT) || BusTime >= 0))
{
DPRINT("USB2_MoveTtEndpoint: result - FALSE\n");
return FALSE;
if (Tt->FrameBudget[frame].IsoEndpoint->NextTtEndpoint)
{
endpoint = Tt->FrameBudget[frame].IsoEndpoint->NextTtEndpoint;
- DPRINT("USB2_DeallocateEndpointBudget: endpoint - %p\n", endpoint);
}
else if (Tt->FrameBudget[frame].AltEndpoint)
{
endpoint = Tt->FrameBudget[frame].AltEndpoint;
- DPRINT("USB2_DeallocateEndpointBudget: endpoint - %p\n", endpoint);
}
}
}
if (ttEndpoint->ActualPeriod != ENDPOINT_INTERRUPT_1ms &&
TransferType == USBPORT_TRANSFER_TYPE_INTERRUPT &&
- ttEndpoint->StartMicroframe > 2)
+ (CHAR)ttEndpoint->StartMicroframe > 2)
{
USB2_DeallocateEndpointBudget(ttEndpoint,
Rebalance,
case UsbFullSpeed:
{
Tt = &TtExtension->Tt;
-
Period = USB2_FRAMES;
while (Period > 0 && Period > EndpointProperties->Period)
ASSERT(ActualPeriod);
Factor = USB2_FRAMES / ActualPeriod;
-
n = ScheduleOffset * Factor;
if (TtExtension)