X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/4f9628376179238c8f08e5cc96a3b01080871049..ceb16ee24f1e6add5e2ad0398369c24d2d868cd8:/Projects/XPLAINBridge/AVRISPDescriptors.h diff --git a/Projects/XPLAINBridge/AVRISPDescriptors.h b/Projects/XPLAINBridge/AVRISPDescriptors.h index dfd5315eb..2fa18095d 100644 --- a/Projects/XPLAINBridge/AVRISPDescriptors.h +++ b/Projects/XPLAINBridge/AVRISPDescriptors.h @@ -42,9 +42,20 @@ #include /* Macros: */ - /** Endpoint number of the AVRISP bidirectional data endpoint. */ - #define AVRISP_DATA_EPNUM 2 + #if !defined(LIBUSB_FILTERDRV_COMPAT) + /** Endpoint number of the AVRISP data OUT endpoint. */ + #define AVRISP_DATA_OUT_EPNUM 2 + /** Endpoint number of the AVRISP data IN endpoint. */ + #define AVRISP_DATA_IN_EPNUM 2 + #else + /** Endpoint number of the AVRISP data OUT endpoint. */ + #define AVRISP_DATA_OUT_EPNUM 2 + + /** Endpoint number of the AVRISP data IN endpoint. */ + #define AVRISP_DATA_IN_EPNUM 3 + #endif + /** Size in bytes of the AVRISP data endpoint. */ #define AVRISP_DATA_EPSIZE 64 @@ -56,9 +67,9 @@ typedef struct { USB_Descriptor_Configuration_Header_t Config; - USB_Descriptor_Interface_t AVRISPInterface; - USB_Descriptor_Endpoint_t DataInEndpoint; - USB_Descriptor_Endpoint_t DataOutEndpoint; + USB_Descriptor_Interface_t AVRISP_Interface; + USB_Descriptor_Endpoint_t AVRISP_DataInEndpoint; + USB_Descriptor_Endpoint_t AVRISP_DataOutEndpoint; } AVRISP_USB_Descriptor_Configuration_t; /* Function Prototypes: */