/* Function Prototypes: */\r
/** Retrieves the configuration descriptor data or size from an attached device via a standard request.\r
*\r
+ * \param ConfigNumber Device configuration descriptor number to fetch from the device (usually set to 1 for\r
+ * single configuration devices)\r
+ *\r
* \param ConfigSizePtr Pointer to a uint16_t for either storing or retrieving the configuration\r
* descriptor size\r
*\r
* of bytes indicated by ConfigSizePtr of the configuration descriptor will be loaded\r
* into the buffer\r
*/\r
- uint8_t USB_GetDeviceConfigDescriptor(uint16_t* const ConfigSizePtr, void* BufferPtr)\r
- ATTR_NON_NULL_PTR_ARG(1);\r
+ uint8_t USB_GetDeviceConfigDescriptor(uint8_t ConfigNumber, uint16_t* const ConfigSizePtr, void* BufferPtr)\r
+ ATTR_NON_NULL_PTR_ARG(2);\r
\r
/** Skips to the next sub-descriptor inside the configuration descriptor of the specified type value.\r
* The bytes remaining value is automatically decremented.\r