diff options
| author | hathach <[email protected]> | 2022-02-25 23:16:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-02-25 23:16:40 +0700 |
| commit | 1482a415240171b7ff2bd2ee0f123635dd15f9a4 (patch) | |
| tree | 8093bdbcb1e39009e75156ec9bbdb0941b34f65d /examples/device | |
| parent | 0997589c45a7c4dd96da0d9bce37f771520e34c6 (diff) | |
fix uac2_headset build
Diffstat (limited to 'examples/device')
| -rw-r--r-- | examples/device/uac2_headset/src/tusb_config.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/device/uac2_headset/src/tusb_config.h b/examples/device/uac2_headset/src/tusb_config.h index 3b2f7df48..2a1189a79 100644 --- a/examples/device/uac2_headset/src/tusb_config.h +++ b/examples/device/uac2_headset/src/tusb_config.h @@ -42,11 +42,7 @@ extern "C" { #error CFG_TUSB_MCU must be defined #endif -// RHPort max operational speed can defined by board.mk -// Default to max (auto) speed for MCU with internal HighSpeed PHY -#ifndef BOARD_DEVICE_RHPORT_SPEED - #define BOARD_DEVICE_RHPORT_SPEED OPT_MODE_DEFAULT_SPEED -#endif +#define CFG_TUSB_RHPORT0_MODE OPT_MODE_DEVICE #ifndef CFG_TUSB_OS #define CFG_TUSB_OS OPT_OS_NONE |
