summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2023-11-21 18:06:57 +0100
committerhathach <[email protected]>2024-03-30 10:36:27 +0700
commitcab11064160deab42af654cd766bbfaca7f688cd (patch)
tree29c6cdf9e3bead2ac8065496116c17af1d8ea72f /src/class
parent9a981237df01456d60cdd7893493918d88af5e1a (diff)
dwc2: add endpoint allocation support.
Diffstat (limited to 'src/class')
-rw-r--r--src/class/audio/audio_device.c4
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