diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-03-15 19:11:26 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-03-15 19:11:26 +0000 |
commit | f87aec2264087c5e72bb013451540950f2a076f8 (patch) | |
tree | 13ba50475cba2fe1cd39274142308ad93b185527 | |
parent | 77adb2ba529973b99383fd4571f67eede3afcda4 (diff) | |
download | lufa-f87aec2264087c5e72bb013451540950f2a076f8.tar.gz lufa-f87aec2264087c5e72bb013451540950f2a076f8.tar.bz2 lufa-f87aec2264087c5e72bb013451540950f2a076f8.zip |
Fixed incorrect call to the user callback CALLBACK_Audio_Device_GetSetInterfaceProperty() in the Audio Class device driver (thanks to Tiit Ratsep).
-rw-r--r-- | LUFA/DoxygenPages/ChangeLog.txt | 3 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/AudioClassDevice.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/LUFA/DoxygenPages/ChangeLog.txt b/LUFA/DoxygenPages/ChangeLog.txt index b24e94a3f..d4b781cce 100644 --- a/LUFA/DoxygenPages/ChangeLog.txt +++ b/LUFA/DoxygenPages/ChangeLog.txt @@ -17,7 +17,7 @@ * <b>Changed:</b> * - Core: * - Android Accessory Host property strings changed from a struct of pointer to an array to prevent unaligned access on greater than 8-bit architectures - * - Audio Device Class driver changed to also require the index of the Audio Control interface within the device, for SET/GET/CUR/MIN/MAX/RES property adjustments + * - Audio Device Class driver changed to also require the index of the Audio Control interface within the device, for SET/GET/CUR/MIN/MAX/RES property adjustments * - Library Applications: * - Raised the guard bits in the AVRISP-MKII clone project when in PDI and TPI to 32, to prevent communication errors on low quality connections to a target * @@ -25,6 +25,7 @@ * - Core: * - Fixed possible enumeration error if the user application selects a pipe other than the default Control pipe between the Powered and Default states of * the host state machine + * - Fixed incorrect call to the user callback CALLBACK_Audio_Device_GetSetInterfaceProperty() in the Audio Class device driver (thanks to Tiit Ratsep) * - Fixed compile error for the UC3 architecture when INTERRUPT_CONTROL_ENDPOINT is specified (thanks to Andrus Aaslaid) * - Library Applications: * - None diff --git a/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c b/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c index 4f3cfd62d..7a1f4b206 100644 --- a/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c +++ b/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c @@ -125,7 +125,7 @@ void Audio_Device_ProcessControlRequest(USB_ClassInfo_Audio_Device_t* const Audi Endpoint_ClearIN(); CALLBACK_Audio_Device_GetSetInterfaceProperty(AudioInterfaceInfo, Property, Entity, - Parameter, NULL, NULL); + Parameter, &ValueLength, Value); } } |