diff options
author | Dean Camera <[email protected]> | 2011-04-10 06:43:02 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2011-04-10 06:43:02 +0000 |
commit | 852b5e612d549d1f086ceca4df0b589ac24cb37f (patch) | |
tree | ced320248de1fb786dda5e515ad306cbd81086dd /Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h | |
parent | d08116b02fd0032f24be18b255c9d80ec9ca316d (diff) | |
download | qmk_firmware-852b5e612d549d1f086ceca4df0b589ac24cb37f.tar.gz qmk_firmware-852b5e612d549d1f086ceca4df0b589ac24cb37f.zip |
Remove redundant type information for bitfield elements, other than the signed/unsignedness of the element.
Change type of USB_SelectedPipe and USB_SelectedEndpoint for the AVR32 UC3 architecture to uint32_t to reduce the compiled code size.
Diffstat (limited to 'Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h')
-rw-r--r-- | Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h b/Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h index 58574d8a63..373ff5baab 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h +++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h @@ -219,8 +219,8 @@ uint32_t SequenceNumber; /**< Data sequence number of the packet */ uint32_t AcknowledgmentNumber; /**< Data acknowledgment number of the packet */ - unsigned char Reserved : 4; /**< Reserved, must be all 0 */ - unsigned char DataOffset : 4; /**< Offset of the data from the start of the header, in 4 byte chunks */ + unsigned Reserved : 4; /**< Reserved, must be all 0 */ + unsigned DataOffset : 4; /**< Offset of the data from the start of the header, in 4 byte chunks */ uint8_t Flags; /**< TCP packet flags */ uint16_t WindowSize; /**< Current data window size (bytes remaining in reception buffer) */ |