aboutsummaryrefslogtreecommitdiff
path: root/Demos/Host
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/Host
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/Host')
-rw-r--r--Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMMControl.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMMControl.h b/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMMControl.h
index 8ff63340..6242d51d 100644
--- a/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMMControl.h
+++ b/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMMControl.h
@@ -77,9 +77,9 @@
/* Type Defines: */
typedef struct
{
- unsigned char EA : 1;
- unsigned char CR : 1;
- unsigned char DLCI : 6;
+ unsigned EA : 1;
+ unsigned CR : 1;
+ unsigned DLCI : 6;
} RFCOMM_Address_t;
typedef struct
@@ -90,21 +90,21 @@
typedef struct
{
- unsigned char EA : 1;
- unsigned char CR : 1;
- unsigned char Command : 6;
+ unsigned EA : 1;
+ unsigned CR : 1;
+ unsigned Command : 6;
} RFCOMM_Command_t;
typedef struct
{
- uint8_t DLCI;
- unsigned char FrameType : 4;
- unsigned char ConvergenceLayer : 4;
- uint8_t Priority;
- uint8_t ACKTimerTicks;
- uint16_t MaximumFrameSize;
- uint8_t MaxRetransmissions;
- uint8_t RecoveryWindowSize;
+ uint8_t DLCI;
+ unsigned FrameType : 4;
+ unsigned ConvergenceLayer : 4;
+ uint8_t Priority;
+ uint8_t ACKTimerTicks;
+ uint16_t MaximumFrameSize;
+ uint8_t MaxRetransmissions;
+ uint8_t RecoveryWindowSize;
} RFCOMM_DPN_Parameters_t;
typedef struct