Added new \ref SPI_GetCurrentMode() function to the SPI peripheral driver.
[pub/USBasp.git] / Demos / Device / Incomplete / Sideshow / Lib / SideshowCommon.h
index 6d1110c..794b91e 100644 (file)
        /* Type Defines: */
                typedef struct
                {
-                       uint32_t         Chunks[4];
+                       uint32_t Chunks[4];
                } GUID_t;
 
                typedef struct
                {
-                       uint16_t         LengthInBytes;
-                       int              UnicodeString[];
+                       uint16_t LengthInBytes;
+                       int      UnicodeString[];
                } Unicode_String_t;
 
                typedef union
 
                        struct
                        {
-                               uint8_t TypeBytes[3];
+                               uint8_t  TypeBytes[3];
 
-                               int ErrorCode     : 6;
-                               int NAK           : 1;
-                               int Response      : 1;
+                               unsigned ErrorCode     : 6;
+                               unsigned NAK           : 1;
+                               unsigned Response      : 1;
                        } TypeFields;
                } SideShowPacketType_t;
 
                typedef struct
                {
-                       uint32_t               Length;
-                       SideShowPacketType_t   Type;
-                       uint16_t               Number;
+                       uint32_t             Length;
+                       SideShowPacketType_t Type;
+                       uint16_t             Number;
                } SideShow_PacketHeader_t;
 
        /* Function Prototypes: */