Ooops - TeensyHID bootloader makefile should use a 16MHz FCPU, not 8MHz.
[pub/USBasp.git] / Demos / Host / LowLevel / MassStorageHost / ConfigDescriptor.c
index 3feb624..3a53190 100644 (file)
 uint8_t ProcessConfigurationDescriptor(void)\r
 {\r
        uint8_t  ConfigDescriptorData[512];\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
        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
        {\r
                case HOST_GETCONFIG_Successful:\r
                        break;\r
@@ -119,7 +119,7 @@ uint8_t ProcessConfigurationDescriptor(void)
  *\r
  *  This comparator searches for the next Interface descriptor of the correct Mass Storage Class, Subclass and Protocol values.\r
  *\r
  *\r
  *  This comparator searches for the next Interface descriptor of the correct Mass Storage Class, Subclass and Protocol values.\r
  *\r
- *  \return A value from the \ref DSEARCH_Return_ErrorCodes_t enum\r
+ *  \return A value from the DSEARCH_Return_ErrorCodes_t enum\r
  */\r
 uint8_t DComp_NextMSInterface(void* CurrentDescriptor)\r
 {\r
  */\r
 uint8_t DComp_NextMSInterface(void* CurrentDescriptor)\r
 {\r
@@ -144,7 +144,7 @@ uint8_t DComp_NextMSInterface(void* CurrentDescriptor)
  *  This comparator searches for the next Bulk Endpoint descriptor of the correct MSD interface, aborting the search if\r
  *  another interface descriptor is found before the next endpoint.\r
  *\r
  *  This comparator searches for the next Bulk Endpoint descriptor of the correct MSD interface, aborting the search if\r
  *  another interface descriptor is found before the next endpoint.\r
  *\r
- *  \return A value from the \ref DSEARCH_Return_ErrorCodes_t enum\r
+ *  \return A value from the DSEARCH_Return_ErrorCodes_t enum\r
  */\r
 uint8_t DComp_NextMSInterfaceBulkDataEndpoint(void* CurrentDescriptor)\r
 {\r
  */\r
 uint8_t DComp_NextMSInterfaceBulkDataEndpoint(void* CurrentDescriptor)\r
 {\r