X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FUSB%2FCore%2Fusb_proto.h;h=b5399e8e3991c0cbdaf692fd2e0b42d1d83dda45;hb=9faf301f7a2b963fd58d289652cbf25b3c52bf9a;hp=776237daea52568c8ac8910fb2084214dfe35b6c;hpb=b77a57935b392d5b056b83f0e2dd03ab894bc0ce;p=tpg%2Facess2.git diff --git a/Modules/USB/Core/usb_proto.h b/Modules/USB/Core/usb_proto.h index 776237da..b5399e8e 100644 --- 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; -}; +} PACKED; struct sDescriptor_Configuration { @@ -46,7 +46,7 @@ struct sDescriptor_Configuration Uint8 ConfigurationStr; Uint8 AttributesBmp; Uint8 MaxPower; // in units of 2 mA -}; +} PACKED; struct sDescriptor_String { @@ -54,7 +54,7 @@ struct sDescriptor_String Uint8 Type; // = 3 Uint16 Data[62]; // 62 is arbitary -}; +} PACKED; struct sDescriptor_Interface { @@ -70,7 +70,7 @@ struct sDescriptor_Interface Uint8 InterfaceProtocol; Uint8 InterfaceStr; -}; +} PACKED; struct sDescriptor_Endpoint { @@ -100,7 +100,7 @@ struct sDescriptor_Endpoint * */ Uint8 PollingInterval; -}; +} PACKED; #endif