aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver/AudioInputHost
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-06-13 00:19:40 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-06-13 00:19:40 +0000
commitdeaab900899b90cc3fea4adb48cbc82e2dfe7de8 (patch)
tree3fd88c1a005796f917f9bf945cab22b470fc150c /Demos/Host/ClassDriver/AudioInputHost
parent6e0a26083ad76d2cea5aa934b530fdd8d6f4e7c1 (diff)
downloadlufa-deaab900899b90cc3fea4adb48cbc82e2dfe7de8.tar.gz
lufa-deaab900899b90cc3fea4adb48cbc82e2dfe7de8.tar.bz2
lufa-deaab900899b90cc3fea4adb48cbc82e2dfe7de8.zip
Ensure that only the requested Audio class pipes are mapped to endpoints within the device for a specific Audio Host Class driver instance.
Fix const-correctness of the Audio Host Class driver.
Diffstat (limited to 'Demos/Host/ClassDriver/AudioInputHost')
-rw-r--r--Demos/Host/ClassDriver/AudioInputHost/AudioInputHost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/ClassDriver/AudioInputHost/AudioInputHost.c b/Demos/Host/ClassDriver/AudioInputHost/AudioInputHost.c
index 93c1e72a3..35a4ef90a 100644
--- a/Demos/Host/ClassDriver/AudioInputHost/AudioInputHost.c
+++ b/Demos/Host/ClassDriver/AudioInputHost/AudioInputHost.c
@@ -104,7 +104,7 @@ int main(void)
USB_HostState = HOST_STATE_WaitForDeviceRemoval;
break;
}
-
+
USB_Audio_SampleFreq_t SampleRate = AUDIO_SAMPLE_FREQ(48000);
if (Audio_GetSetEndpointProperty(&Microphone_Audio_Interface, Microphone_Audio_Interface.Config.DataINPipeNumber,
AUDIO_REQ_SetCurrent, AUDIO_EPCONTROL_SamplingFreq,