mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 08:50:24 +08:00
[USBPORT] Add USB2_IncMicroFrame().
This commit is contained in:
committed by
Amine Khaldi
parent
22b8777f84
commit
71a7208f69
@@ -38,6 +38,20 @@ USB2_AddDataBitStuff(IN USHORT DataTime)
|
||||
return (DataTime + (DataTime / 16));
|
||||
}
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
USB2_IncMicroFrame(OUT PUCHAR frame,
|
||||
OUT PUCHAR uframe)
|
||||
{
|
||||
++*uframe;
|
||||
|
||||
if (*uframe > (USB2_MICROFRAMES - 1))
|
||||
{
|
||||
*uframe = 0;
|
||||
*frame = (*frame + 1) & (USB2_FRAMES - 1);
|
||||
}
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
USB2_CheckTtEndpointInsert(IN PUSB2_TT_ENDPOINT nextTtEndpoint,
|
||||
|
||||
Reference in New Issue
Block a user