summaryrefslogtreecommitdiff
path: root/examples/device/audio_4_channel_mic/src
diff options
context:
space:
mode:
authorMengsk <[email protected]>2025-09-29 17:50:23 +0200
committerMengsk <[email protected]>2025-09-30 15:51:50 +0200
commit5d179c255bdfa5d2639c68638d593446a46a1e30 (patch)
tree20b104f20d3b43fdd36a255d143955a53f83c116 /examples/device/audio_4_channel_mic/src
parent8f9eee6a811350eb7b8f0bcf26fdde342a53ac8f (diff)
Update TUD_AUDIO_EP_SIZE macro
Signed-off-by: Mengsk <[email protected]>
Diffstat (limited to 'examples/device/audio_4_channel_mic/src')
-rw-r--r--examples/device/audio_4_channel_mic/src/tusb_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/audio_4_channel_mic/src/tusb_config.h b/examples/device/audio_4_channel_mic/src/tusb_config.h
index a1b3a1050..6115f44bb 100644
--- a/examples/device/audio_4_channel_mic/src/tusb_config.h
+++ b/examples/device/audio_4_channel_mic/src/tusb_config.h
@@ -110,7 +110,7 @@ extern "C" {
#define CFG_TUD_AUDIO_ENABLE_EP_IN 1
#define CFG_TUD_AUDIO_FUNC_1_N_BYTES_PER_SAMPLE_TX 2 // This value is not required by the driver, it parses this information from the descriptor once the alternate interface is set by the host - we use it for the setup
#define CFG_TUD_AUDIO_FUNC_1_N_CHANNELS_TX 4 // This value is not required by the driver, it parses this information from the descriptor once the alternate interface is set by the host - we use it for the setup
-#define CFG_TUD_AUDIO_EP_SZ_IN TUD_AUDIO_EP_SIZE(CFG_TUD_AUDIO_FUNC_1_SAMPLE_RATE, CFG_TUD_AUDIO_FUNC_1_N_BYTES_PER_SAMPLE_TX, CFG_TUD_AUDIO_FUNC_1_N_CHANNELS_TX)
+#define CFG_TUD_AUDIO_EP_SZ_IN TUD_AUDIO_EP_SIZE(TUD_OPT_HIGH_SPEED, CFG_TUD_AUDIO_FUNC_1_SAMPLE_RATE, CFG_TUD_AUDIO_FUNC_1_N_BYTES_PER_SAMPLE_TX, CFG_TUD_AUDIO_FUNC_1_N_CHANNELS_TX)
#define CFG_TUD_AUDIO_EP_IN_FLOW_CONTROL 1