From d8fe01f19a48b960f5f82735b38ab798d07f2891 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 16 Jun 2011 06:49:08 +0000 Subject: Rename new Audio class driver functions, callbacks and events to ensure that they contain the USB mode (Device or Host) in the function names. --- Demos/Device/ClassDriver/AudioOutput/AudioOutput.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Demos/Device/ClassDriver/AudioOutput') diff --git a/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c b/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c index bdb09324e..e0c573434 100644 --- a/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c +++ b/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c @@ -225,12 +225,12 @@ void EVENT_USB_Device_ControlRequest(void) * * \return Boolean true if the property get/set was successful, false otherwise */ -bool CALLBACK_Audio_GetSetEndpointProperty(USB_ClassInfo_Audio_Device_t* const AudioInterfaceInfo, - const uint8_t EndpointProperty, - const uint8_t EndpointAddress, - const uint8_t EndpointControl, - uint16_t* const DataLength, - uint8_t* Data) +bool CALLBACK_Audio_Device_GetSetEndpointProperty(USB_ClassInfo_Audio_Device_t* const AudioInterfaceInfo, + const uint8_t EndpointProperty, + const uint8_t EndpointAddress, + const uint8_t EndpointControl, + uint16_t* const DataLength, + uint8_t* Data) { /* Check the requested endpoint to see if a supported endpoint is being manipulated */ if (EndpointAddress == (ENDPOINT_DESCRIPTOR_DIR_OUT | Speaker_Audio_Interface.Config.DataOUTEndpointNumber)) -- cgit v1.2.3