aboutsummaryrefslogtreecommitdiffstats
path: root/Projects
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-08-12 13:25:27 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-08-12 13:25:27 +0000
commitfa664f8b46788f60961ed5b2ed878e10cea5236e (patch)
tree87f5025a7ddb768b596cc4f5c52243c99c046913 /Projects
parent9c590e41d716e7afb9bd45a86e811a6a58096771 (diff)
downloadlufa-fa664f8b46788f60961ed5b2ed878e10cea5236e.tar.gz
lufa-fa664f8b46788f60961ed5b2ed878e10cea5236e.tar.bz2
lufa-fa664f8b46788f60961ed5b2ed878e10cea5236e.zip
Fixed broken RESET_TOGGLES_LIBUSB_COMPAT compile time option in the AVRISP-MKII project.
Diffstat (limited to 'Projects')
-rw-r--r--Projects/AVRISP-MKII/AVRISPDescriptors.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Projects/AVRISP-MKII/AVRISPDescriptors.h b/Projects/AVRISP-MKII/AVRISPDescriptors.h
index a14515d5e..20725c525 100644
--- a/Projects/AVRISP-MKII/AVRISPDescriptors.h
+++ b/Projects/AVRISP-MKII/AVRISPDescriptors.h
@@ -59,13 +59,13 @@
/** Endpoint address of the AVRISP data IN endpoint, when in LibUSB driver compatibility mode. */
#define AVRISP_DATA_IN_EPADDR_LIBUSB (ENDPOINT_DIR_IN | 3)
- #if !defined(LIBUSB_DRIVER_COMPAT) || defined(__DOXYGEN__)
- /** Endpoint address of the AVRISP data IN endpoint. */
- #define AVRISP_DATA_IN_EPADDR AVRISP_DATA_IN_EPADDR_JUNGO
- #elif defined(RESET_TOGGLES_LIBUSB_COMPAT)
+ #if defined(RESET_TOGGLES_LIBUSB_COMPAT)
#define AVRISP_DATA_IN_EPADDR AVRISP_CurrDataINEndpointAddress
- #else
+ #elif defined(LIBUSB_DRIVER_COMPAT)
#define AVRISP_DATA_IN_EPADDR AVRISP_DATA_IN_EPADDR_LIBUSB
+ #else
+ /** Endpoint address of the AVRISP data IN endpoint. */
+ #define AVRISP_DATA_IN_EPADDR AVRISP_DATA_IN_EPADDR_JUNGO
#endif
/** Size in bytes of the AVRISP data endpoint. */