[USBPORT] Add USB2_AddDataBitStuff().
authorVadim Galyant <vgal@rambler.ru>
Wed, 29 Nov 2017 13:21:58 +0000 (22:21 +0900)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 21 Jan 2018 18:35:43 +0000 (19:35 +0100)
drivers/usb/usbport/usb2.c

index 3755fb4..ace40d1 100644 (file)
 //#define NDEBUG
 #include <debug.h>
 
+USHORT
+NTAPI
+USB2_AddDataBitStuff(IN USHORT DataTime)
+{
+    return (DataTime + (DataTime / 16));
+}
+
 ULONG
 NTAPI
 USB2_GetOverhead(IN PUSB2_TT_ENDPOINT TtEndpoint)