diff --git a/LUFA/Drivers/USB/Class/Host/HID.c b/LUFA/Drivers/USB/Class/Host/HID.c index 992f7b3a68..aab35b1097 100644 --- a/LUFA/Drivers/USB/Class/Host/HID.c +++ b/LUFA/Drivers/USB/Class/Host/HID.c @@ -112,7 +112,7 @@ uint8_t HID_Host_ConfigurePipes(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo DoubleBanked = HIDInterfaceInfo->Config.DataINPipeDoubleBank; InterruptPeriod = DataINEndpoint->PollingIntervalMS; - HIDInterfaceInfo->State.DataINPipeSize = DataINEndpoint->EndpointSize; + HIDInterfaceInfo->State.DataINPipeSize = DataINEndpoint->EndpointSize; } else if (PipeNum == HIDInterfaceInfo->Config.DataOUTPipeNumber) { @@ -148,7 +148,7 @@ uint8_t HID_Host_ConfigurePipes(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo HIDInterfaceInfo->State.HIDReportSize = HIDDescriptor->HIDReportLength; HIDInterfaceInfo->State.SupportsBootProtocol = (HIDInterface->SubClass != HID_CSCP_NonBootProtocol); HIDInterfaceInfo->State.LargestReportSize = 8; - HIDInterfaceInfo->State.IsActive = true; + HIDInterfaceInfo->State.IsActive = true; return HID_ENUMERROR_NoError; } diff --git a/LUFA/Drivers/USB/Core/UC3/Device_UC3.h b/LUFA/Drivers/USB/Core/UC3/Device_UC3.h index 22e17464dc..53d497a68f 100644 --- a/LUFA/Drivers/USB/Core/UC3/Device_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/Device_UC3.h @@ -83,7 +83,7 @@ //@} #if (!defined(NO_INTERNAL_SERIAL) && \ - (defined(USB_SERIES_UC3A3_AVR) || defined(USB_SERIES_UC3A4_AVR) || \ + (defined(USB_SERIES_UC3A3_AVR32) || defined(USB_SERIES_UC3A4_AVR32) || \ defined(__DOXYGEN__))) /** String descriptor index for the device's unique serial number string descriptor within the device. * This unique serial number is used by the host to associate resources to the device (such as drivers or COM port diff --git a/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h b/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h index 41ab165648..98067e6355 100644 --- a/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h @@ -98,7 +98,7 @@ #define _ENDPOINT_GET_BANKS2(EPDetails) _ENDPOINT_GET_BANKS3(EPDetails) #define _ENDPOINT_GET_BANKS3(MaxSize, Banks) (Banks) - #if defined(USB_SERIES_UC3A0_AVR) || defined(USB_SERIES_UC3A1_AVR) + #if defined(USB_SERIES_UC3A0_AVR32) || defined(USB_SERIES_UC3A1_AVR32) #define ENDPOINT_DETAILS_MAXEP 7 #define ENDPOINT_DETAILS_EP0 64, 1 @@ -108,7 +108,7 @@ #define ENDPOINT_DETAILS_EP4 64, 2 #define ENDPOINT_DETAILS_EP5 256, 2 #define ENDPOINT_DETAILS_EP6 256, 2 - #elif defined(USB_SERIES_UC3A3_AVR) || defined(USB_SERIES_UC3A4_AVR) + #elif defined(USB_SERIES_UC3A3_AVR32) || defined(USB_SERIES_UC3A4_AVR32) #define ENDPOINT_DETAILS_MAXEP 8 #define ENDPOINT_DETAILS_EP0 64, 1 @@ -118,7 +118,7 @@ #define ENDPOINT_DETAILS_EP4 512, 2 #define ENDPOINT_DETAILS_EP5 512, 2 #define ENDPOINT_DETAILS_EP6 512, 2 - #elif defined(USB_SERIES_UC3B0_AVR) || defined(USB_SERIES_UC3B1_AVR) + #elif defined(USB_SERIES_UC3B0_AVR32) || defined(USB_SERIES_UC3B1_AVR32) #define ENDPOINT_DETAILS_MAXEP 7 #define ENDPOINT_DETAILS_EP0 64, 1 diff --git a/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h b/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h index b82b27e54f..2444a2c63a 100644 --- a/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h @@ -168,7 +168,7 @@ */ #define PIPE_CONTROLPIPE_DEFAULT_SIZE 64 - #if defined(USB_SERIES_UC3A3_AVR) || defined(USB_SERIES_UC3A4_AVR) || defined(__DOXYGEN__) + #if defined(USB_SERIES_UC3A3_AVR32) || defined(USB_SERIES_UC3A4_AVR32) || defined(__DOXYGEN__) /** Total number of pipes (including the default control pipe at address 0) which may be used in * the device. */ diff --git a/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h b/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h index da32b3ed4b..eaff22278c 100644 --- a/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h @@ -298,7 +298,7 @@ /* Private Interface - For use in library only: */ #if !defined(__DOXYGEN__) /* Macros: */ - #if (defined(USB_SERIES_UC3A3_AVR) || defined(USB_SERIES_UC3A4_AVR)) + #if (defined(USB_SERIES_UC3A3_AVR32) || defined(USB_SERIES_UC3A4_AVR32)) #define USB_CLOCK_REQUIRED_FREQ 12000000UL #else #define USB_CLOCK_REQUIRED_FREQ 48000000UL diff --git a/LUFA/Drivers/USB/Core/USBMode.h b/LUFA/Drivers/USB/Core/USBMode.h index 905b5687b4..fad94226fa 100644 --- a/LUFA/Drivers/USB/Core/USBMode.h +++ b/LUFA/Drivers/USB/Core/USBMode.h @@ -144,34 +144,34 @@ #define USB_CAN_BE_HOST #elif (defined(__AVR32_UC3A0512__) || defined(__AVR32_UC3A0256__) || \ defined(__AVR32_UC3A0128__) || defined(__AVR32_UC3A064__)) - #define USB_SERIES_UC3A0_AVR + #define USB_SERIES_UC3A0_AVR32 #define USB_CAN_BE_DEVICE #define USB_CAN_BE_HOST #elif (defined(__AVR32_UC3A1512__) || defined(__AVR32_UC3A1256__) || \ defined(__AVR32_UC3A1128__) || defined(__AVR32_UC3A164__)) - #define USB_SERIES_UC3A1_AVR + #define USB_SERIES_UC3A1_AVR32 #define USB_CAN_BE_DEVICE #define USB_CAN_BE_HOST #elif (defined(__AVR32_UC3A3256__) || defined(__AVR32_UC3A3256S__) || \ defined(__AVR32_UC3A3128__) || defined(__AVR32_UC3A3128S__) || \ defined(__AVR32_UC3A364__) || defined(__AVR32_UC3A364S__)) - #define USB_SERIES_UC3A3_AVR + #define USB_SERIES_UC3A3_AVR32 #define USB_CAN_BE_DEVICE #define USB_CAN_BE_HOST #elif (defined(__AVR32_UC3A4256__) || defined(__AVR32_UC3A4256S__) || \ defined(__AVR32_UC3A4128__) || defined(__AVR32_UC3A4128S__) || \ defined(__AVR32_UC3A464__) || defined(__AVR32_UC3A464S__)) - #define USB_SERIES_UC3A4_AVR + #define USB_SERIES_UC3A4_AVR32 #define USB_CAN_BE_DEVICE #define USB_CAN_BE_HOST #elif (defined(__AVR32_UC3B0512__) || defined(__AVR32_UC3B0256__) || \ defined(__AVR32_UC3B0128__) || defined(__AVR32_UC3B064__)) - #define USB_SERIES_UC3B0_AVR + #define USB_SERIES_UC3B0_AVR32 #define USB_CAN_BE_DEVICE #define USB_CAN_BE_HOST #elif (defined(__AVR32_UC3B1512__) || defined(__AVR32_UC3B1256__) || \ defined(__AVR32_UC3B1128__) || defined(__AVR32_UC3B164__)) - #define USB_SERIES_UC3B1_AVR + #define USB_SERIES_UC3B1_AVR32 #define USB_CAN_BE_DEVICE #define USB_CAN_BE_HOST #endif diff --git a/LUFA/ManPages/MainPage.txt b/LUFA/ManPages/MainPage.txt index f18a6a274b..0ab9d56dcb 100644 --- a/LUFA/ManPages/MainPage.txt +++ b/LUFA/ManPages/MainPage.txt @@ -8,7 +8,7 @@ * \mainpage * * \image html LUFA.png - *
Logo design by Ryo Photography
+ *
Logo design by Studio Monsoon Photography
* \n *
http://www.lufa-lib.org
* \n