diff options
| author | Ha Thach <[email protected]> | 2021-11-04 13:41:25 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-04 13:41:25 +0700 |
| commit | fc59515bfd14da74fce7e8bd4390586ac8ff3b15 (patch) | |
| tree | ec9379098bfdd3f931339f36b7884a8e60085b08 /examples/device/audio_test | |
| parent | b4a0f0b273eee32ead7acbd44ca9554c58a2adfa (diff) | |
| parent | 6cfdf697eba5b2af6ea383c2bed52557d7610893 (diff) | |
Merge pull request #1163 from hathach/generalize-synopsys-dwc2
Generalize synopsys dwc2
Diffstat (limited to 'examples/device/audio_test')
| -rw-r--r-- | examples/device/audio_test/src/main.c | 2 | ||||
| -rw-r--r-- | examples/device/audio_test/src/usb_descriptors.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/audio_test/src/main.c b/examples/device/audio_test/src/main.c index 9a2fdd3a1..ed13ce993 100644 --- a/examples/device/audio_test/src/main.c +++ b/examples/device/audio_test/src/main.c @@ -142,7 +142,7 @@ void tud_resume_cb(void) void audio_task(void) { // Yet to be filled - e.g. put meas data into TX FIFOs etc. - asm("nop"); + // asm("nop"); } //--------------------------------------------------------------------+ 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 |
