summaryrefslogtreecommitdiff
path: root/examples/device/audio_test
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-10-25 17:04:03 +0700
committerhathach <[email protected]>2021-10-25 17:04:03 +0700
commitdbd31895bc234ff6d76d3fe736dc613890ab7acb (patch)
tree9793b3b14156eccc9ed3bdd7963ac6630aa23061 /examples/device/audio_test
parent85e18b9172b266f26ace35c825a9da0f3a32db0b (diff)
change usage of TU_CHECK_MCU() to prevent macro conflict
Diffstat (limited to 'examples/device/audio_test')
-rw-r--r--examples/device/audio_test/src/usb_descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/audio_test/src/usb_descriptors.c b/examples/device/audio_test/src/usb_descriptors.c
index 348f5eede..09b2a2d45 100644
--- a/examples/device/audio_test/src/usb_descriptors.c
+++ b/examples/device/audio_test/src/usb_descriptors.c
@@ -86,7 +86,7 @@ enum
// 0 control, 1 In, 2 Bulk, 3 Iso, 4 In etc ...
#define EPNUM_AUDIO 0x03
-#elif TU_CHECK_MCU(NRF5X)
+#elif TU_CHECK_MCU(OPT_MCU_NRF5X)
// nRF5x ISO can only be endpoint 8
#define EPNUM_AUDIO 0x08