X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/34dc7f241fe0627e21c3a218123d5d9fbc97374c..7aecda6fda5bcced68d72b0cf73d00174aa5c7cd:/Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c diff --git a/Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c b/Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c index 849b1f97c..b69b8cbd1 100644 --- a/Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c +++ b/Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c @@ -38,7 +38,7 @@ uint8_t ProcessConfigurationDescriptor(void) uint8_t FoundEndpoints = 0; /* Retrieve the entire configuration descriptor into the allocated buffer */ - switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData))) + switch (USB_Host_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData))) { case HOST_GETCONFIG_Successful: break; @@ -50,7 +50,7 @@ uint8_t ProcessConfigurationDescriptor(void) return ControlErrorDuringConfigRead; } - /* The bluetooth USB transport addendium mandates that the data (not streaming voice) endpoints + /* The bluetooth USB transport addendum mandates that the data (not streaming voice) endpoints be in the first interface descriptor (interface 0) */ USB_GetNextDescriptorOfType(&CurrConfigBytesRem, &CurrConfigLocation, DTYPE_Interface);