X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/926a83bbc12cc09e026a51b173007dc7cda16117..2b43a6d7df6221b979f08326c02eb1cfdd077c49:/Projects/AVRISP-MKII/AVRISP-MKII.h diff --git a/Projects/AVRISP-MKII/AVRISP-MKII.h b/Projects/AVRISP-MKII/AVRISP-MKII.h index e7b418418..30b5afef0 100644 --- a/Projects/AVRISP-MKII/AVRISP-MKII.h +++ b/Projects/AVRISP-MKII/AVRISP-MKII.h @@ -18,7 +18,7 @@ advertising or publicity pertaining to distribution of the software without specific, written prior permission. - The author disclaim all warranties with regard to this + The author disclaims all warranties with regard to this software, including all implied warranties of merchantability and fitness. In no event shall the author be liable for any special, indirect or consequential damages or any damages @@ -42,7 +42,6 @@ #include #include - #include #include #include @@ -50,7 +49,7 @@ #include #endif - #include "Descriptors.h" + #include "AVRISPDescriptors.h" #include "Lib/V2Protocol.h" #include "Config/AppConfig.h" @@ -80,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