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/Host/ClassDriver/MIDIHost | |
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/Host/ClassDriver/MIDIHost')
-rw-r--r-- | Demos/Host/ClassDriver/MIDIHost/MIDIHost.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c b/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c index 9a59be082..5fb4c03ed 100644 --- a/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c +++ b/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c @@ -74,8 +74,8 @@ int main(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);
|