mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
Fix CFG_TUD_AUDIO_EP_IN/OUT_SW_BUFFER_SIZE to be defined anyway
This commit is contained in:
parent
3df61d6755
commit
9e2a1d2e6a
@ -64,12 +64,16 @@
|
||||
#ifndef CFG_TUD_AUDIO_EP_IN_SW_BUFFER_SIZE
|
||||
#define CFG_TUD_AUDIO_EP_IN_SW_BUFFER_SIZE CFG_TUD_AUDIO_EPSIZE_IN // TX
|
||||
#endif
|
||||
#else
|
||||
#define CFG_TUD_AUDIO_EP_IN_SW_BUFFER_SIZE 0
|
||||
#endif
|
||||
|
||||
#if CFG_TUD_AUDIO_EPSIZE_OUT
|
||||
#ifndef CFG_TUD_AUDIO_EP_OUT_SW_BUFFER_SIZE
|
||||
#define CFG_TUD_AUDIO_EP_OUT_SW_BUFFER_SIZE CFG_TUD_AUDIO_EPSIZE_OUT // RX
|
||||
#endif
|
||||
#else
|
||||
#define CFG_TUD_AUDIO_EP_OUT_SW_BUFFER_SIZE 0
|
||||
#endif
|
||||
|
||||
// General information of number of TX and/or RX channels - is used in case support FIFOs (see below) are used and can be used for descriptor definitions
|
||||
|
Loading…
x
Reference in New Issue
Block a user