From 852b5e612d549d1f086ceca4df0b589ac24cb37f Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 10 Apr 2011 06:43:02 +0000 Subject: 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. --- LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c') 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, -- cgit v1.2.3