X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/544027da185fbfb51461460c607f956ccee9e54b..9da01ee78b59bcaed0d73e3f77d2f284885bfc76:/Projects/AVRISP-MKII/AVRISPDescriptors.h?ds=inline 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. */