mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:35:40 +00:00
[USBPORT] Add USB2_IncMicroFrame().
This commit is contained in:
parent
22b8777f84
commit
71a7208f69
1 changed files with 14 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue