X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/c1a1b6eeecb375259968ef6d989833312047f2d8..18b0d408a9e68cbc1ce36da89d74a799d7fc31de:/Bootloaders/TeensyHID/Descriptors.h diff --git a/Bootloaders/TeensyHID/Descriptors.h b/Bootloaders/TeensyHID/Descriptors.h index 24a0cdaa8..11c6f0f46 100644 --- a/Bootloaders/TeensyHID/Descriptors.h +++ b/Bootloaders/TeensyHID/Descriptors.h @@ -50,7 +50,7 @@ uint16_t HIDSpec; uint8_t CountryCode; - uint8_t TotalHIDReports; + uint8_t TotalHIDDescriptors; uint8_t HIDReportType; uint16_t HIDReportLength; @@ -85,7 +85,7 @@ #define DTYPE_Report 0x22 /* Function Prototypes: */ - uint16_t USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress) - ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3); + uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress) + ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3); #endif