diff options
| author | Ha Thach <[email protected]> | 2024-03-31 15:05:01 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-03-31 15:05:01 +0700 |
| commit | 32743f112cb2d53bb59ae073a72e7b7dcc93cb6a (patch) | |
| tree | abcf3fbcd17780fbabe538c79ff59a2b9eeb42fc /src/class | |
| parent | 9a981237df01456d60cdd7893493918d88af5e1a (diff) | |
| parent | 85420c61c780e260d0afd21de4a39c17ceba5d87 (diff) | |
Merge pull request #2333 from HiFiPhile/dwc2_alloc
dwc2: add endpoint allocation support.
Diffstat (limited to 'src/class')
| -rw-r--r-- | src/class/audio/audio_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class/audio/audio_device.c b/src/class/audio/audio_device.c index 4adc558a6..293defd96 100644 --- a/src/class/audio/audio_device.c +++ b/src/class/audio/audio_device.c @@ -96,8 +96,8 @@ #define USE_LINEAR_BUFFER 1 #endif -// Temporarily put the check here for stm32_fsdev -#ifdef TUP_USBIP_FSDEV +// Temporarily put the check here +#if defined(TUP_USBIP_FSDEV) || defined(TUP_USBIP_DWC2) #define USE_ISO_EP_ALLOCATION 1 #else #define USE_ISO_EP_ALLOCATION 0 |
