diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-13 10:07:25 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-13 10:07:25 +0000 |
commit | e625fd6df33ab2112779728622a717589f0b8417 (patch) | |
tree | e10d4c5a8019c4c4f4e4bb169d03a9d49ab445b9 /Demos/DualRole/ClassDriver | |
parent | 2626ecb261e3cac22c602a92034b32c4e6d2be87 (diff) | |
download | lufa-e625fd6df33ab2112779728622a717589f0b8417.tar.gz lufa-e625fd6df33ab2112779728622a717589f0b8417.tar.bz2 lufa-e625fd6df33ab2112779728622a717589f0b8417.zip |
Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function to USB_Host_GetDeviceConfigDescriptor().
Diffstat (limited to 'Demos/DualRole/ClassDriver')
-rw-r--r-- | Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c b/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c index 101cf1586..a503f1c7c 100644 --- a/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c +++ b/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c @@ -116,8 +116,8 @@ void MouseHostTask(void) uint16_t ConfigDescriptorSize;
uint8_t ConfigDescriptorData[512];
- if (USB_GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
- sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
+ if (USB_Host_GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
+ sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
{
printf("Error Retrieving Configuration Descriptor.\r\n");
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
|