summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2024-11-30 21:57:47 +0100
committerHiFiPhile <[email protected]>2024-11-30 21:57:47 +0100
commit0bca377d5210833ac259db6ed9d7d96c724f3e6e (patch)
treefd735172fb638f8e8fb88edeaa6af308f62ec07c /src/class
parent0074ed7c6756d3543dc2e89b0081039001ad230c (diff)
Fix typo.
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src/class')
-rw-r--r--src/class/audio/audio_device.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/class/audio/audio_device.c b/src/class/audio/audio_device.c
index 2add741a8..425da4483 100644
--- a/src/class/audio/audio_device.c
+++ b/src/class/audio/audio_device.c
@@ -81,7 +81,7 @@
// Only STM32 and dcd_transdimension use non-linear buffer for now
// dwc2 except esp32sx (since it may use dcd_esp32sx)
-// Ring buffer is imcompatible with dcache, since neither address nor size is aligned to cache line
+// 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)) || \
defined(TUP_USBIP_FSDEV) || \
CFG_TUSB_MCU == OPT_MCU_RX63X || \
@@ -179,13 +179,13 @@ tu_static OUT_SW_BUF_MEM_ATTR struct {
#if CFG_FIFO_MUTEX
#if CFG_TUD_AUDIO_FUNC_1_EP_OUT_SW_BUF_SZ > 0
- tu_static osal_mutex_def_t ep_out_ff_mutex_wr_1;
+ tu_static osal_mutex_def_t ep_out_ff_mutex_rd_1;
#endif
#if CFG_TUD_AUDIO > 1 && CFG_TUD_AUDIO_FUNC_2_EP_OUT_SW_BUF_SZ > 0
- tu_static osal_mutex_def_t ep_out_ff_mutex_wr_2;
+ tu_static osal_mutex_def_t ep_out_ff_mutex_rd_2;
#endif
#if CFG_TUD_AUDIO > 2 && CFG_TUD_AUDIO_FUNC_3_EP_OUT_SW_BUF_SZ > 0
- tu_static osal_mutex_def_t ep_out_ff_mutex_wr_3;
+ tu_static osal_mutex_def_t ep_out_ff_mutex_rd_3;
#endif
#endif
#endif // CFG_TUD_AUDIO_ENABLE_EP_OUT && !CFG_TUD_AUDIO_ENABLE_DECODING