summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-10-06 10:58:58 +0700
committerhathach <[email protected]>2025-10-06 10:58:58 +0700
commitf272d87a3f3cce71aa2d13813a1fee94aecb9fc5 (patch)
tree25e439dee4a48fd2c439c2decf20432995f2a077 /src/class
parent331c263400dd5ccf77264cab1fa6bbd9f374b44e (diff)
remove dcd_esp32sx which is replaced by dwc2
Diffstat (limited to 'src/class')
-rw-r--r--src/class/audio/audio_device.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/class/audio/audio_device.c b/src/class/audio/audio_device.c
index 701411401..7df177773 100644
--- a/src/class/audio/audio_device.c
+++ b/src/class/audio/audio_device.c
@@ -79,10 +79,9 @@
// Linear buffer in case target MCU is not capable of handling a ring buffer FIFO e.g. no hardware buffer
// is available or driver is would need to be changed dramatically
-// Only STM32 and dcd_transdimension use non-linear buffer for now
-// dwc2 except esp32sx (since it may use dcd_esp32sx)
+// Only STM32 and ChipIdea HS use non-linear buffer for now
// Ring buffer is incompatible with dcache, since neither address nor size is aligned to cache line
-#if (defined(TUP_USBIP_DWC2) && !TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3)) || \
+#if defined(TUP_USBIP_DWC2) || \
defined(TUP_USBIP_FSDEV) || \
CFG_TUSB_MCU == OPT_MCU_RX63X || \
CFG_TUSB_MCU == OPT_MCU_RX65X || \