diff options
| author | Ha Thach <[email protected]> | 2023-03-17 19:27:47 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-17 19:27:47 +0700 |
| commit | 4d273254b6a9ce8f65dcadb637b2e2b59415a21e (patch) | |
| tree | 46c80d419889884f13baf8467edb5d363b68b295 /examples/device/uac2_headset/src | |
| parent | 16daad81643279ffc951ba11a531877dfee8c872 (diff) | |
| parent | 6683053f4827b682f51c56ed664e440c0286de80 (diff) | |
Merge pull request #1961 from hathach/remove-all-submodules
Remove all submodules
Diffstat (limited to 'examples/device/uac2_headset/src')
| -rw-r--r-- | examples/device/uac2_headset/src/main.c | 4 | ||||
| -rw-r--r-- | examples/device/uac2_headset/src/usb_descriptors.c | 2 | ||||
| -rw-r--r-- | examples/device/uac2_headset/src/usb_descriptors.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/device/uac2_headset/src/main.c b/examples/device/uac2_headset/src/main.c index 01707d51b..bafd40d34 100644 --- a/examples/device/uac2_headset/src/main.c +++ b/examples/device/uac2_headset/src/main.c @@ -1,4 +1,4 @@ -/* +/* * The MIT License (MIT) * * Copyright (c) 2020 Jerzy Kasenberg @@ -176,7 +176,7 @@ static bool tud_audio_clock_get_request(uint8_t rhport, audio_control_request_t rangef.subrange[i].bRes = 0; TU_LOG1("Range %d (%d, %d, %d)\r\n", i, (int)rangef.subrange[i].bMin, (int)rangef.subrange[i].bMax, (int)rangef.subrange[i].bRes); } - + return tud_audio_buffer_and_schedule_control_xfer(rhport, (tusb_control_request_t const *)request, &rangef, sizeof(rangef)); } } diff --git a/examples/device/uac2_headset/src/usb_descriptors.c b/examples/device/uac2_headset/src/usb_descriptors.c index 07c86b903..0a0b4c602 100644 --- a/examples/device/uac2_headset/src/usb_descriptors.c +++ b/examples/device/uac2_headset/src/usb_descriptors.c @@ -1,4 +1,4 @@ -/* +/* * The MIT License (MIT) * * Copyright (c) 2020 Ha Thach (tinyusb.org) diff --git a/examples/device/uac2_headset/src/usb_descriptors.h b/examples/device/uac2_headset/src/usb_descriptors.h index 342b4fac1..5525c916a 100644 --- a/examples/device/uac2_headset/src/usb_descriptors.h +++ b/examples/device/uac2_headset/src/usb_descriptors.h @@ -1,4 +1,4 @@ -/* +/* * The MIT License (MIT) * * Copyright (c) 2020 Jerzy Kasenbreg |
