forked from mfulz_github/qmk_firmware
Update incomplete Host mode Audio demos to use the correct class driver Endpoint Sampling Frequency Control value constant.
This commit is contained in:
parent
1a25b6f5f1
commit
2da2b2d9fb
|
@ -185,7 +185,7 @@ void Audio_Task(void)
|
|||
{
|
||||
.bmRequestType = (REQDIR_HOSTTODEVICE | REQTYPE_CLASS | REQREC_ENDPOINT),
|
||||
.bRequest = AUDIO_REQ_SetCurrent,
|
||||
.wValue = 0x0100,
|
||||
.wValue = (AUDIO_EPCONTROL_SamplingFreq << 8),
|
||||
.wIndex = StreamingEndpointAddress,
|
||||
.wLength = sizeof(USB_Audio_SampleFreq_t),
|
||||
};
|
||||
|
|
|
@ -186,7 +186,7 @@ void Audio_Task(void)
|
|||
{
|
||||
.bmRequestType = (REQDIR_HOSTTODEVICE | REQTYPE_CLASS | REQREC_ENDPOINT),
|
||||
.bRequest = AUDIO_REQ_SetCurrent,
|
||||
.wValue = 0x0100,
|
||||
.wValue = (AUDIO_EPCONTROL_SamplingFreq << 8),
|
||||
.wIndex = StreamingEndpointAddress,
|
||||
.wLength = sizeof(USB_Audio_SampleFreq_t),
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue