X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/940145ca6d112782020c8570070c14ba57fdec20..bcc45e24aa6cac11ca93c1b2ccafa795aa2e3eb2:/LUFA/Drivers/USB/Core/USBMode.h diff --git a/LUFA/Drivers/USB/Core/USBMode.h b/LUFA/Drivers/USB/Core/USBMode.h index 1b1d9dc9a..7ae30bbcd 100644 --- a/LUFA/Drivers/USB/Core/USBMode.h +++ b/LUFA/Drivers/USB/Core/USBMode.h @@ -102,6 +102,11 @@ */ #define USB_SERIES_UC3A3_AVR + /** Indicates that the target AVR microcontroller belongs to the AVR32 UC3A4 Series USB controller + * (i.e. AT32UC3A4*) when defined. + */ + #define USB_SERIES_UC3A4_AVR + /** Indicates that the target AVR microcontroller belongs to the AVR32 UC3B0 Series USB controller * (i.e. AT32UC3B0*) when defined. */ @@ -239,14 +244,8 @@ #define USB_CAN_BE_DEVICE #endif - #if ( defined(USB_CAN_BE_DEVICE) && !defined(USB_CAN_BE_HOST)) - #if !defined(USB_DEVICE_ONLY) - #define USB_DEVICE_ONLY - #endif - #elif (!defined(USB_CAN_BE_DEVICE) && defined(USB_CAN_BE_HOST)) - #if !defined(USB_HOST_ONLY) - #define USB_HOST_ONLY - #endif + #if (defined(USB_CAN_BE_DEVICE) && defined(USB_CAN_BE_HOST)) + #define USB_CAN_BE_BOTH #endif #if defined(USB_HOST_ONLY)