diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-04-10 06:43:02 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-04-10 06:43:02 +0000 |
commit | 852b5e612d549d1f086ceca4df0b589ac24cb37f (patch) | |
tree | ced320248de1fb786dda5e515ad306cbd81086dd /LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c | |
parent | d08116b02fd0032f24be18b255c9d80ec9ca316d (diff) | |
download | lufa-852b5e612d549d1f086ceca4df0b589ac24cb37f.tar.gz lufa-852b5e612d549d1f086ceca4df0b589ac24cb37f.tar.bz2 lufa-852b5e612d549d1f086ceca4df0b589ac24cb37f.zip |
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.
Diffstat (limited to 'LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c')
-rw-r--r-- | LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c b/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c index 14f66d922..b978ec7f1 100644 --- a/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c +++ b/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c @@ -39,7 +39,7 @@ uint8_t USB_ControlEndpointSize = ENDPOINT_CONTROLEP_DEFAULT_SIZE;
#endif
-volatile uint8_t USB_SelectedEndpoint = ENDPOINT_CONTROLEP;
+volatile uint32_t USB_SelectedEndpoint = ENDPOINT_CONTROLEP;
volatile uint8_t* USB_EndpointFIFOPos[ENDPOINT_TOTAL_ENDPOINTS];
bool Endpoint_ConfigureEndpoint_Prv(const uint8_t Number,
|