diff options
author | Dean Camera <[email protected]> | 2011-07-19 07:02:19 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2011-07-19 07:02:19 +0000 |
commit | 110711598af766ef5da7aaf183d0c4886beb8fb7 (patch) | |
tree | a9b006b1ff2477562c7eae83dfa0b6761a421e21 /Demos/Device/ClassDriver/AudioInput/AudioInput.c | |
parent | 2c404e5af53409af5ce279321377a1303c776617 (diff) | |
download | qmk_firmware-110711598af766ef5da7aaf183d0c4886beb8fb7.tar.gz qmk_firmware-110711598af766ef5da7aaf183d0c4886beb8fb7.zip |
Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
Diffstat (limited to 'Demos/Device/ClassDriver/AudioInput/AudioInput.c')
-rw-r--r-- | Demos/Device/ClassDriver/AudioInput/AudioInput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/AudioInput/AudioInput.c b/Demos/Device/ClassDriver/AudioInput/AudioInput.c index f6713a70fd..31e8d96ad3 100644 --- a/Demos/Device/ClassDriver/AudioInput/AudioInput.c +++ b/Demos/Device/ClassDriver/AudioInput/AudioInput.c @@ -196,7 +196,7 @@ bool CALLBACK_Audio_Device_GetSetEndpointProperty(USB_ClassInfo_Audio_Device_t* 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)) + if (EndpointAddress == (ENDPOINT_DIR_IN | Microphone_Audio_Interface.Config.DataINEndpointNumber)) { /* Check the requested control to see if a supported control is being manipulated */ if (EndpointControl == AUDIO_EPCONTROL_SamplingFreq) |