Fix PDITarget_ReceiveByte() not discarding the start bit properly, and reading in...
[pub/USBasp.git] / Demos / Host / LowLevel / StillImageHost / ConfigDescriptor.c
index 5b3664f..8a6dc28 100644 (file)
  *\r
  *  This routine searches for a SI interface descriptor containing bulk IN and OUT data endpoints.\r
  *\r
- *  \return An error code from the StillImageHost_GetConfigDescriptorDataCodes_t enum.\r
+ *  \return An error code from the \ref StillImageHost_GetConfigDescriptorDataCodes_t enum.\r
  */\r
 uint8_t ProcessConfigurationDescriptor(void)\r
 {\r
        uint8_t  ConfigDescriptorData[512];\r
-       uint8_t* CurrConfigLocation = ConfigDescriptorData;\r
+       void*    CurrConfigLocation = ConfigDescriptorData;\r
        uint16_t CurrConfigBytesRem;\r
        uint8_t  FoundEndpoints = 0;\r
 \r
        /* Retrieve the entire configuration descriptor into the allocated buffer */\r
-       switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))\r
+       switch (USB_Host_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))\r
        {\r
                case HOST_GETCONFIG_Successful:\r
                        break;\r