diff options
| author | Ha Thach <[email protected]> | 2023-03-18 12:13:08 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-18 12:13:08 +0700 |
| commit | f1a859d90701564dc6e152197454fae1f49ee846 (patch) | |
| tree | 7ed7c12f7b0f493a887b76ffce348856426eaa1e /examples/device/audio_test/src | |
| parent | 65ee11ff630169c01a33860fbf8507d2d8f29a71 (diff) | |
| parent | 9f54cc1eb725e7d77a5b275b209d8257b180d7ed (diff) | |
Merge pull request #1639 from bavison/portability
Fixes for building with IAR toolchain
Diffstat (limited to 'examples/device/audio_test/src')
| -rw-r--r-- | examples/device/audio_test/src/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/device/audio_test/src/main.c b/examples/device/audio_test/src/main.c index f9cc63cdd..b5ca41d36 100644 --- a/examples/device/audio_test/src/main.c +++ b/examples/device/audio_test/src/main.c @@ -100,9 +100,6 @@ int main(void) led_blinking_task(); audio_task(); } - - - return 0; } //--------------------------------------------------------------------+ @@ -291,7 +288,7 @@ bool tud_audio_get_req_entity_cb(uint8_t rhport, tusb_control_request_t const * // Those are dummy values for now ret.bNrChannels = 1; - ret.bmChannelConfig = 0; + ret.bmChannelConfig = (audio_channel_config_t) 0; ret.iChannelNames = 0; TU_LOG2(" Get terminal connector\r\n"); |
