summaryrefslogtreecommitdiff
path: root/examples/device/uac2_speaker_fb/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-04-21 11:26:51 +0700
committerhathach <[email protected]>2026-04-21 11:26:51 +0700
commitf9e79844edd9757243c786c9e901cfba3f281b6b (patch)
tree357b7529f4b9ad393343b66ba5f92f44ba07ce42 /examples/device/uac2_speaker_fb/src
parentda2368bc141c7e76e818df2336ffe672b7927748 (diff)
replace `TUD_ENDPOINT_ONE_DIRECTION_ONLY` with `CFG_TUD_ENDPOINT_ONE_DIRECTION_ONLY` for improved configuration consistency across examples and core sources
Diffstat (limited to 'examples/device/uac2_speaker_fb/src')
-rw-r--r--examples/device/uac2_speaker_fb/src/usb_descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/uac2_speaker_fb/src/usb_descriptors.c b/examples/device/uac2_speaker_fb/src/usb_descriptors.c
index c5a161a1e..2e21e54e3 100644
--- a/examples/device/uac2_speaker_fb/src/usb_descriptors.c
+++ b/examples/device/uac2_speaker_fb/src/usb_descriptors.c
@@ -115,7 +115,7 @@ uint8_t const * tud_hid_descriptor_report_cb(uint8_t itf) {
#define EPNUM_AUDIO_FB 0x08
#define EPNUM_DEBUG 0x01
-#elif defined(TUD_ENDPOINT_ONE_DIRECTION_ONLY)
+#elif CFG_TUD_ENDPOINT_ONE_DIRECTION_ONLY
// MCUs that don't support a same endpoint number with different direction IN and OUT defined in tusb_mcu.h
// e.g EP1 OUT & EP1 IN cannot exist together
#define EPNUM_AUDIO 0x02