Skip to content

Commit 1482a41

Browse files
committed
fix uac2_headset build
1 parent 0997589 commit 1482a41

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

examples/device/uac2_headset/src/tusb_config.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,7 @@ extern "C" {
4242
#error CFG_TUSB_MCU must be defined
4343
#endif
4444

45-
// RHPort max operational speed can defined by board.mk
46-
// Default to max (auto) speed for MCU with internal HighSpeed PHY
47-
#ifndef BOARD_DEVICE_RHPORT_SPEED
48-
#define BOARD_DEVICE_RHPORT_SPEED OPT_MODE_DEFAULT_SPEED
49-
#endif
45+
#define CFG_TUSB_RHPORT0_MODE OPT_MODE_DEVICE
5046

5147
#ifndef CFG_TUSB_OS
5248
#define CFG_TUSB_OS OPT_OS_NONE

0 commit comments

Comments
 (0)