X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/76d5e99bb8765030a7f99e7b5adf9bae7f92e0ba..eeba38e343a299e12964aec15fd43108d3dc9130:/LUFA/Drivers/USB/Class/ConfigDescriptor.h diff --git a/LUFA/Drivers/USB/Class/ConfigDescriptor.h b/LUFA/Drivers/USB/Class/ConfigDescriptor.h index 6f5bbc448..74d6d2727 100644 --- a/LUFA/Drivers/USB/Class/ConfigDescriptor.h +++ b/LUFA/Drivers/USB/Class/ConfigDescriptor.h @@ -264,13 +264,18 @@ *BytesRem -= CurrDescriptorSize; } - /* Private Interface - For use in library only: */ - #if !defined(__DOXYGEN__) /* Type Defines: */ - typedef uint8_t (* const ComparatorPtr_t)(void* const); + /** Type define for a Configuration Descriptor comparator function (function taking a pointer to an array + * of type void, returning a uint8_t value). + * + * \see \ref USB_GetNextDescriptorComp function for more details + */ + typedef uint8_t (* const ConfigComparatorPtr_t)(void* const); + /* Private Interface - For use in library only: */ + #if !defined(__DOXYGEN__) /* Function Prototypes: */ - uint8_t USB_GetNextDescriptorComp_Prv(uint16_t* BytesRem, uint8_t** CurrConfigLoc, ComparatorPtr_t ComparatorRoutine); + uint8_t USB_GetNextDescriptorComp_Prv(uint16_t* BytesRem, uint8_t** CurrConfigLoc, ConfigComparatorPtr_t ComparatorRoutine); #endif /* Disable C linkage for C++ Compilers: */