summaryrefslogtreecommitdiff
path: root/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-04-10 06:43:02 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-04-10 06:43:02 +0000
commit9ebaf2ecadb2c37b3d33fd01d3ab03863ebeeeb7 (patch)
treeced320248de1fb786dda5e515ad306cbd81086dd /Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h
parente149e8ab3b9bd8b2b40837fb66e368c70bd19aa3 (diff)
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1733 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h')
-rw-r--r--Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h b/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h
index 42e65988..53f32a2a 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];