Fixed broken RESET_TOGGLES_LIBUSB_COMPAT compile time option in the AVRISP-MKII project.

pull/1469/head
Dean Camera 12 years ago
parent 9c590e41d7
commit fa664f8b46

@ -7,7 +7,23 @@
/** \page Page_ChangeLog Project Changelog /** \page Page_ChangeLog Project Changelog
* *
* \section Sec_ChangeLogXXXXXX Version XXXXXX * \section Sec_ChangeLogXXXXXX Version XXXXXX
* - No Changes. * <b>New:</b>
* - Core:
* - <i>None</i>
* - Library Applications:
* - <i>None</i>
*
* <b>Changed:</b>
* - Core:
* - <i>None</i>
* - Library Applications:
* - <i>None</i>
*
* <b>Fixed:</b>
* - Core:
* - <i>None</i>
* - Library Applications:
* - Fixed broken RESET_TOGGLES_LIBUSB_COMPAT compile time option in the AVRISP-MKII project
* *
* \section Sec_ChangeLog120730 Version 120730 * \section Sec_ChangeLog120730 Version 120730
* <b>New:</b> * <b>New:</b>

@ -59,13 +59,13 @@
/** Endpoint address of the AVRISP data IN endpoint, when in LibUSB driver compatibility mode. */ /** Endpoint address of the AVRISP data IN endpoint, when in LibUSB driver compatibility mode. */
#define AVRISP_DATA_IN_EPADDR_LIBUSB (ENDPOINT_DIR_IN | 3) #define AVRISP_DATA_IN_EPADDR_LIBUSB (ENDPOINT_DIR_IN | 3)
#if !defined(LIBUSB_DRIVER_COMPAT) || defined(__DOXYGEN__) #if defined(RESET_TOGGLES_LIBUSB_COMPAT)
/** Endpoint address of the AVRISP data IN endpoint. */
#define AVRISP_DATA_IN_EPADDR AVRISP_DATA_IN_EPADDR_JUNGO
#elif defined(RESET_TOGGLES_LIBUSB_COMPAT)
#define AVRISP_DATA_IN_EPADDR AVRISP_CurrDataINEndpointAddress #define AVRISP_DATA_IN_EPADDR AVRISP_CurrDataINEndpointAddress
#else #elif defined(LIBUSB_DRIVER_COMPAT)
#define AVRISP_DATA_IN_EPADDR AVRISP_DATA_IN_EPADDR_LIBUSB #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 #endif
/** Size in bytes of the AVRISP data endpoint. */ /** Size in bytes of the AVRISP data endpoint. */

Loading…
Cancel
Save