diff options
| author | hathach <[email protected]> | 2025-10-09 12:27:30 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-10-09 12:27:30 +0700 |
| commit | 970384d6dbb012e5b27095b0f065fd73d00ebf4c (patch) | |
| tree | 3f12ef5058f0e7772834b3bc98dceefdba25f8f1 /examples/device/audio_test_multi_rate/src | |
| parent | b9378eb8e79691907aae40b3fc26cb57d4ffaeb4 (diff) | |
| parent | 87523f2494109b45307644a36f035b5ad11d5ba9 (diff) | |
Merge branch 'master' into fork/ArcaneNibble/ohci-upstream
Diffstat (limited to 'examples/device/audio_test_multi_rate/src')
| -rw-r--r-- | examples/device/audio_test_multi_rate/src/main.c | 4 | ||||
| -rw-r--r-- | examples/device/audio_test_multi_rate/src/tusb_config.h | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/examples/device/audio_test_multi_rate/src/main.c b/examples/device/audio_test_multi_rate/src/main.c index 87f56f4b5..9d467991e 100644 --- a/examples/device/audio_test_multi_rate/src/main.c +++ b/examples/device/audio_test_multi_rate/src/main.c @@ -100,9 +100,7 @@ int main(void) { .speed = TUSB_SPEED_AUTO}; tusb_init(BOARD_TUD_RHPORT, &dev_init); - if (board_init_after_tusb) { - board_init_after_tusb(); - } + board_init_after_tusb(); // Init values sampFreq = sampleRatesList[0]; diff --git a/examples/device/audio_test_multi_rate/src/tusb_config.h b/examples/device/audio_test_multi_rate/src/tusb_config.h index d9b925dcf..b48c0a0be 100644 --- a/examples/device/audio_test_multi_rate/src/tusb_config.h +++ b/examples/device/audio_test_multi_rate/src/tusb_config.h @@ -123,7 +123,6 @@ extern "C" { // Have a look into audio_device.h for all configurations #define CFG_TUD_AUDIO_FUNC_1_DESC_LEN TUD_AUDIO_MIC_ONE_CH_2_FORMAT_DESC_LEN -#define CFG_TUD_AUDIO_FUNC_1_N_AS_INT 1 // Number of Standard AS Interface Descriptors (4.9.1) defined per audio function - this is required to be able to remember the current alternate settings of these interfaces - We restrict us here to have a constant number for all audio functions (which means this has to be the maximum number of AS interfaces an audio function has and a second audio function with less AS interfaces just wastes a few bytes) #define CFG_TUD_AUDIO_FUNC_1_CTRL_BUF_SZ 64 // Size of control request buffer #define CFG_TUD_AUDIO_ENABLE_EP_IN 1 |
