Update incomplete Host mode Audio demos to use the correct class driver Endpoint...
[pub/USBasp.git] / Demos / Host / Incomplete / AudioOutputHost / AudioOutputHost.c
index 98df423..15d00c0 100644 (file)
@@ -186,7 +186,7 @@ void Audio_Task(void)
                                {\r
                                        .bmRequestType = (REQDIR_HOSTTODEVICE | REQTYPE_CLASS | REQREC_ENDPOINT),\r
                                        .bRequest      = AUDIO_REQ_SetCurrent,\r
-                                       .wValue        = 0x0100,\r
+                                       .wValue        = (AUDIO_EPCONTROL_SamplingFreq << 8),\r
                                        .wIndex        = StreamingEndpointAddress,\r
                                        .wLength       = sizeof(USB_Audio_SampleFreq_t),\r
                                };\r