aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/ClassDriver/AudioInput/AudioInput.c
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-06-16 06:49:08 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-06-16 06:49:08 +0000
commita39a6927a6baefe3b7c77d09479714776f8533f4 (patch)
tree70f263f3bae17a97c0e3b776a81ec1178d9dbbd7 /Demos/Device/ClassDriver/AudioInput/AudioInput.c
parent944bf95b9e37808a67334fde6ff70ca9548ae7ec (diff)
Rename new Audio class driver functions, callbacks and events to ensure that they contain the USB mode (Device or Host) in the function names.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1803 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Device/ClassDriver/AudioInput/AudioInput.c')
-rw-r--r--Demos/Device/ClassDriver/AudioInput/AudioInput.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Demos/Device/ClassDriver/AudioInput/AudioInput.c b/Demos/Device/ClassDriver/AudioInput/AudioInput.c
index 063977f1..dc9655e6 100644
--- a/Demos/Device/ClassDriver/AudioInput/AudioInput.c
+++ b/Demos/Device/ClassDriver/AudioInput/AudioInput.c
@@ -188,12 +188,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_IN | Microphone_Audio_Interface.Config.DataINEndpointNumber))