git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modules/USB - Commenting mostly
[tpg/acess2.git]
/
Modules
/
USB
/
Core
/
usb_proto.h
diff --git
a/Modules/USB/Core/usb_proto.h
b/Modules/USB/Core/usb_proto.h
index
776237d
..
b5399e8
100644
(file)
--- a/
Modules/USB/Core/usb_proto.h
+++ b/
Modules/USB/Core/usb_proto.h
@@
-33,7
+33,7
@@
struct sDescriptor_Device
Uint8 SerialNumberStr;
Uint8 NumConfigurations;
Uint8 SerialNumberStr;
Uint8 NumConfigurations;
-};
+}
PACKED
;
struct sDescriptor_Configuration
{
struct sDescriptor_Configuration
{
@@
-46,7
+46,7
@@
struct sDescriptor_Configuration
Uint8 ConfigurationStr;
Uint8 AttributesBmp;
Uint8 MaxPower; // in units of 2 mA
Uint8 ConfigurationStr;
Uint8 AttributesBmp;
Uint8 MaxPower; // in units of 2 mA
-};
+}
PACKED
;
struct sDescriptor_String
{
struct sDescriptor_String
{
@@
-54,7
+54,7
@@
struct sDescriptor_String
Uint8 Type; // = 3
Uint16 Data[62]; // 62 is arbitary
Uint8 Type; // = 3
Uint16 Data[62]; // 62 is arbitary
-};
+}
PACKED
;
struct sDescriptor_Interface
{
struct sDescriptor_Interface
{
@@
-70,7
+70,7
@@
struct sDescriptor_Interface
Uint8 InterfaceProtocol;
Uint8 InterfaceStr;
Uint8 InterfaceProtocol;
Uint8 InterfaceStr;
-};
+}
PACKED
;
struct sDescriptor_Endpoint
{
struct sDescriptor_Endpoint
{
@@
-100,7
+100,7
@@
struct sDescriptor_Endpoint
*
*/
Uint8 PollingInterval;
*
*/
Uint8 PollingInterval;
-};
+}
PACKED
;
#endif
#endif
UCC
git Repository :: git.ucc.asn.au