aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP-MKII/Descriptors.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-02-05 21:59:35 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-02-05 21:59:35 +0000
commitfdab3aef8629f01f9b01b4bfc76904666df439e2 (patch)
treed6d2367058695db1f2c9d287ad0b6aa77912f35d /Projects/AVRISP-MKII/Descriptors.c
parentfe8326855ad8b6f16c88de0f3e4718c0d8ea1025 (diff)
downloadlufa-fdab3aef8629f01f9b01b4bfc76904666df439e2.tar.gz
lufa-fdab3aef8629f01f9b01b4bfc76904666df439e2.tar.bz2
lufa-fdab3aef8629f01f9b01b4bfc76904666df439e2.zip
Add (still preliminary) support for the ATXMEGA64A4 and ATXMEGA128A4. Fix minor error in the AVRISP-MKII clone project descriptors.
Diffstat (limited to 'Projects/AVRISP-MKII/Descriptors.c')
-rw-r--r--Projects/AVRISP-MKII/Descriptors.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Projects/AVRISP-MKII/Descriptors.c b/Projects/AVRISP-MKII/Descriptors.c
index 1e729541f..9b01e9cd7 100644
--- a/Projects/AVRISP-MKII/Descriptors.c
+++ b/Projects/AVRISP-MKII/Descriptors.c
@@ -81,7 +81,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = USB_CONFIG_ATTR_RESERVED,
+ .ConfigAttributes = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_SELFPOWERED),
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
@@ -96,8 +96,8 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.TotalEndpoints = 2,
.Class = USB_CSCP_VendorSpecificClass,
- .SubClass = 0x00,
- .Protocol = 0x00,
+ .SubClass = USB_CSCP_NoDeviceSubclass,
+ .Protocol = USB_CSCP_NoDeviceProtocol,
.InterfaceStrIndex = NO_DESCRIPTOR
},