diff options
Diffstat (limited to 'Demos/Device/Incomplete')
-rw-r--r-- | Demos/Device/Incomplete/Sideshow/Lib/SideshowCommon.h | 20 | ||||
-rw-r--r-- | Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h | 20 |
2 files changed, 20 insertions, 20 deletions
diff --git a/Demos/Device/Incomplete/Sideshow/Lib/SideshowCommon.h b/Demos/Device/Incomplete/Sideshow/Lib/SideshowCommon.h index 6d1110c7c..794b91e9e 100644 --- a/Demos/Device/Incomplete/Sideshow/Lib/SideshowCommon.h +++ b/Demos/Device/Incomplete/Sideshow/Lib/SideshowCommon.h @@ -65,13 +65,13 @@ /* 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 @@ -80,19 +80,19 @@ 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: */ diff --git a/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h b/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h index 42e659882..53f32a2ae 100644 --- a/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h +++ b/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h @@ -90,16 +90,16 @@ struct
{
- unsigned char ListenOnly : 1;
- unsigned char TalkOnly : 1;
- unsigned char PulseIndicateSupported : 1;
- unsigned char Reserved : 5;
+ unsigned ListenOnly : 1;
+ unsigned TalkOnly : 1;
+ unsigned PulseIndicateSupported : 1;
+ unsigned Reserved : 5;
} Interface;
struct
{
- unsigned char SupportsAbortINOnMatch : 1;
- unsigned char Reserved : 7;
+ unsigned SupportsAbortINOnMatch : 1;
+ unsigned Reserved : 7;
} Device;
uint8_t Reserved2[6];
@@ -108,16 +108,16 @@ typedef struct
{
- unsigned char LastMessageTransaction : 1;
- unsigned char Reserved : 7;
+ unsigned LastMessageTransaction : 1;
+ unsigned Reserved : 7;
uint8_t Reserved2[3];
} TMC_DevOUTMessageHeader_t;
typedef struct
{
- unsigned char TermCharEnabled : 1;
- unsigned char Reserved : 7;
+ unsigned TermCharEnabled : 1;
+ unsigned Reserved : 7;
uint8_t TermChar;
uint8_t Reserved2[2];
|