aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP-MKII/AVRISP-MKII.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-05-20 17:09:39 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-05-20 17:09:39 +0000
commit5833b27f80f4b6b10f5765468f5863e57b97a65a (patch)
treea8df9f72605f3f069fa42a67d35ba6874cc0144d /Projects/AVRISP-MKII/AVRISP-MKII.h
parent32cfb8cf4f56f45ddfc50a6b2803ac98496c2c0b (diff)
downloadlufa-5833b27f80f4b6b10f5765468f5863e57b97a65a.tar.gz
lufa-5833b27f80f4b6b10f5765468f5863e57b97a65a.tar.bz2
lufa-5833b27f80f4b6b10f5765468f5863e57b97a65a.zip
Alter the XPLAINBridge and AVRISP-MKII clone projects so that the descriptors from the AVRISP-MKII clone project can be directly used in the XPLAINBridge project. Add support for RESET_TOGGLES_LIBUSB_COMPAT option in the XPLAINBridge project.
Diffstat (limited to 'Projects/AVRISP-MKII/AVRISP-MKII.h')
-rw-r--r--Projects/AVRISP-MKII/AVRISP-MKII.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Projects/AVRISP-MKII/AVRISP-MKII.h b/Projects/AVRISP-MKII/AVRISP-MKII.h
index 217030524..87cfacef0 100644
--- a/Projects/AVRISP-MKII/AVRISP-MKII.h
+++ b/Projects/AVRISP-MKII/AVRISP-MKII.h
@@ -50,7 +50,7 @@
#include <LUFA/Drivers/Peripheral/ADC.h>
#endif
- #include "Descriptors.h"
+ #include "AVRISPDescriptors.h"
#include "Lib/V2Protocol.h"
/* Macros: */
@@ -79,6 +79,12 @@
void EVENT_USB_Device_Connect(void);
void EVENT_USB_Device_Disconnect(void);
void EVENT_USB_Device_ConfigurationChanged(void);
+
+ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
+ const uint8_t wIndex,
+ const void** const DescriptorAddress,
+ uint8_t* const DescriptorMemorySpace)
+ ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3) ATTR_NON_NULL_PTR_ARG(4);
#endif