mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:56:31 +00:00
[USBPORT] Moving array CMASKS[] to start file.
This commit is contained in:
parent
2c73523b76
commit
fd5beb5593
1 changed files with 4 additions and 3 deletions
|
@ -10,6 +10,10 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
static const UCHAR CMASKS[USB2_MICROFRAMES] = {
|
||||||
|
0x1C, 0x38, 0x70, 0xE0, 0xC1, 0x83, 0x07, 0x0E
|
||||||
|
};
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
NTAPI
|
NTAPI
|
||||||
USB2_AllocateCheck(IN OUT PULONG OutTimeUsed,
|
USB2_AllocateCheck(IN OUT PULONG OutTimeUsed,
|
||||||
|
@ -792,9 +796,6 @@ USB2_GetCMASK(IN PUSB2_TT_ENDPOINT TtEndpoint)
|
||||||
UCHAR HcFrame;
|
UCHAR HcFrame;
|
||||||
UCHAR HcMicroFrame;
|
UCHAR HcMicroFrame;
|
||||||
UCHAR MaskCS = 0;
|
UCHAR MaskCS = 0;
|
||||||
static const UCHAR CMASKS[USB2_MICROFRAMES] = {
|
|
||||||
0x1C, 0x38, 0x70, 0xE0, 0xC1, 0x83, 0x07, 0x0E
|
|
||||||
};
|
|
||||||
|
|
||||||
TransferType = TtEndpoint->TtEndpointParams.TransferType;
|
TransferType = TtEndpoint->TtEndpointParams.TransferType;
|
||||||
DeviceSpeed = TtEndpoint->TtEndpointParams.DeviceSpeed;
|
DeviceSpeed = TtEndpoint->TtEndpointParams.DeviceSpeed;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue