mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 17:00:51 +08:00
[USBPORT] Add USB2_GetPrevMicroFrame().
This commit is contained in:
committed by
Amine Khaldi
parent
71a7208f69
commit
e39b88e3e7
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user