Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 99d5b17

Browse files
committedSep 5, 2019
[USB] Update STM32 USB Host library to v3.3.3
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 2e40966 commit 99d5b17

37 files changed

+960
-790
lines changed
 

‎system/Middlewares/ST/STM32_USB_Host_Library/Class/AUDIO/Inc/usbh_audio.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* This software component is licensed by ST under Ultimate Liberty license
1313
* SLA0044, the "License"; You may not use this file except in compliance with
1414
* the License. You may obtain a copy of the License at:
15-
* http://www.st.com/SLA0044
15+
* www.st.com/SLA0044
1616
*
1717
******************************************************************************
1818
*/
@@ -214,18 +214,18 @@ typedef struct {
214214
AUDIO_InterfaceControlPropTypeDef;
215215

216216

217-
#define AUDIO_MAX_AUDIO_STD_INTERFACE 0x05U
218-
#define AUDIO_MAX_FREQ_SUPPORTED 0x05U
219-
#define AUDIO_MAX_STREAMING_INTERFACE 0x05U
220-
#define AUDIO_MAX_NUM_IN_TERMINAL 0x04U
221-
#define AUDIO_MAX_NUM_OUT_TERMINAL 0x04U
222-
#define AUDIO_MAX_NUM_FEATURE_UNIT 0x04U
223-
#define AUDIO_MAX_NUM_MIXER_UNIT 0x04U
224-
#define AUDIO_MAX_NUM_SELECTOR_UNIT 0x04U
217+
#define AUDIO_MAX_AUDIO_STD_INTERFACE 5U
218+
#define AUDIO_MAX_FREQ_SUPPORTED 5U
219+
#define AUDIO_MAX_STREAMING_INTERFACE 5U
220+
#define AUDIO_MAX_NUM_IN_TERMINAL 4U
221+
#define AUDIO_MAX_NUM_OUT_TERMINAL 4U
222+
#define AUDIO_MAX_NUM_FEATURE_UNIT 4U
223+
#define AUDIO_MAX_NUM_MIXER_UNIT 4U
224+
#define AUDIO_MAX_NUM_SELECTOR_UNIT 4U
225225

226-
#define HEADPHONE_SUPPORTED 0x01U
227-
#define MICROPHONE_SUPPORTED 0x02U
228-
#define HEADSET_SUPPORTED 0x03U
226+
#define HEADPHONE_SUPPORTED 1U
227+
#define MICROPHONE_SUPPORTED 2U
228+
#define HEADSET_SUPPORTED 3U
229229

230230
#define AUDIO_MAX_SAMFREQ_NBR 5U
231231
#define AUDIO_MAX_INTERFACE_NBR 5U

0 commit comments

Comments
 (0)
Please sign in to comment.