projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename PDIProtocol.c/.h to XPROGProtocol.c/.h as it will now handle both TPI and...
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
AudioInput
/
Descriptors.c
diff --git
a/Demos/Device/ClassDriver/AudioInput/Descriptors.c
b/Demos/Device/ClassDriver/AudioInput/Descriptors.c
index
e6419ad
..
6753171
100644
(file)
--- a/
Demos/Device/ClassDriver/AudioInput/Descriptors.c
+++ b/
Demos/Device/ClassDriver/AudioInput/Descriptors.c
@@
-199,7
+199,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
\r
.SubFrameSize = 0x02,
\r
.BitResolution = 16,
\r
\r
.SubFrameSize = 0x02,
\r
.BitResolution = 16,
\r
- .SampleFrequencyType =
(AUDIO_TOTAL_SAMPLE_RATES * sizeof(USB_Audio_SampleFreq_t))
,
\r
+ .SampleFrequencyType =
AUDIO_TOTAL_SAMPLE_RATES
,
\r
\r
.SampleFrequencies = {AUDIO_SAMPLE_FREQ(AUDIO_SAMPLE_FREQUENCY)}
\r
},
\r
\r
.SampleFrequencies = {AUDIO_SAMPLE_FREQ(AUDIO_SAMPLE_FREQUENCY)}
\r
},
\r