summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorStefan Kerkmann <[email protected]>2021-08-07 12:06:54 +0200
committerStefan Kerkmann <[email protected]>2021-08-07 12:06:54 +0200
commit8b78067cc1142c5915ad5fa1275996e92f91a58d (patch)
tree644b1958e258201c913bbe1d67f6f4135ac82b5f /src/class
parent4cebde65ec59f21f282c67a590c09bf982e99af5 (diff)
Use linear buffer for GD32VF103
As the peripheral is the same as on the STM32F1 and STM32F4 lines we do the same.
Diffstat (limited to 'src/class')
-rw-r--r--src/class/audio/audio_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/class/audio/audio_device.c b/src/class/audio/audio_device.c
index de0bddcd3..ff4e312a7 100644
--- a/src/class/audio/audio_device.c
+++ b/src/class/audio/audio_device.c
@@ -89,7 +89,8 @@
(CFG_TUSB_MCU == OPT_MCU_STM32L4 && defined(STM32L4_SYNOPSYS)) || \
CFG_TUSB_MCU == OPT_MCU_RX63X || \
CFG_TUSB_MCU == OPT_MCU_RX65X || \
- CFG_TUSB_MCU == OPT_MCU_RX72N
+ CFG_TUSB_MCU == OPT_MCU_RX72N || \
+ CFG_TUSB_MCU == OPT_MCU_GD32VF103
#define USE_LINEAR_BUFFER 0
#else
#define USE_LINEAR_BUFFER 1