aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/XPLAINBridge/AVRISPDescriptors.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-03-31 09:20:24 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-03-31 09:20:24 +0000
commitc9148f9b473187163f9b1384b993315e39a14711 (patch)
tree2ba2e20b8efb6662876a960e899c26fe516a5382 /Projects/XPLAINBridge/AVRISPDescriptors.c
parentce46257ff297d19958b6303f30f69dd053fd9fa1 (diff)
downloadlufa-c9148f9b473187163f9b1384b993315e39a14711.tar.gz
lufa-c9148f9b473187163f9b1384b993315e39a14711.tar.bz2
lufa-c9148f9b473187163f9b1384b993315e39a14711.zip
Added WIN_LIBUSB_COMPAT compile time option to the AVRISP programmer project to make the code compatible with Windows builds of avrdude at the expense of AVRStudio compatibility.
Diffstat (limited to 'Projects/XPLAINBridge/AVRISPDescriptors.c')
-rw-r--r--Projects/XPLAINBridge/AVRISPDescriptors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/XPLAINBridge/AVRISPDescriptors.c b/Projects/XPLAINBridge/AVRISPDescriptors.c
index e19178391..30e72e9e3 100644
--- a/Projects/XPLAINBridge/AVRISPDescriptors.c
+++ b/Projects/XPLAINBridge/AVRISPDescriptors.c
@@ -106,7 +106,7 @@ AVRISP_USB_Descriptor_Configuration_t PROGMEM AVRISP_ConfigurationDescriptor =
{
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
- .EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | AVRISP_DATA_EPNUM),
+ .EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | AVRISP_DATA_IN_EPNUM),
.Attributes = (EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
.EndpointSize = AVRISP_DATA_EPSIZE,
.PollingIntervalMS = 0x00
@@ -116,7 +116,7 @@ AVRISP_USB_Descriptor_Configuration_t PROGMEM AVRISP_ConfigurationDescriptor =
{
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
- .EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | AVRISP_DATA_EPNUM),
+ .EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | AVRISP_DATA_OUT_EPNUM),
.Attributes = (EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
.EndpointSize = AVRISP_DATA_EPSIZE,
.PollingIntervalMS = 0x00