mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[USBPORT] Add USB2_GetPrevMicroFrame().
This commit is contained in:
parent
71a7208f69
commit
e39b88e3e7
1 changed files with 13 additions and 0 deletions
|
@ -52,6 +52,19 @@ USB2_IncMicroFrame(OUT PUCHAR frame,
|
|||
}
|
||||
}
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
USB2_GetPrevMicroFrame(OUT PUCHAR frame,
|
||||
OUT PUCHAR uframe)
|
||||
{
|
||||
*uframe = USB2_MICROFRAMES - 1;
|
||||
|
||||
if (*frame)
|
||||
--*frame;
|
||||
else
|
||||
*frame = USB2_FRAMES - 1;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
USB2_CheckTtEndpointInsert(IN PUSB2_TT_ENDPOINT nextTtEndpoint,
|
||||
|
|
Loading…
Reference in a new issue