diff options
| author | hathach <[email protected]> | 2019-07-24 09:45:32 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-07-24 09:45:32 +0700 |
| commit | c63f2b30cbad128d5b46820965f0734be9879cb1 (patch) | |
| tree | 7a7d4aa4f9c9a962e7a8310a45508be9904e2cda /src/class/midi | |
| parent | 8fad8fb5c2d4b586431c1893f912ad2ebedc9b33 (diff) | |
rename tud_control_vendor_request_cb/complete_cb to tud_vendor_control_request_cb/complete_cb
Diffstat (limited to 'src/class/midi')
| -rw-r--r-- | src/class/midi/midi_device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/class/midi/midi_device.c b/src/class/midi/midi_device.c index 1e684edde..a33ced169 100644 --- a/src/class/midi/midi_device.c +++ b/src/class/midi/midi_device.c @@ -275,7 +275,8 @@ bool midid_open(uint8_t rhport, tusb_desc_interface_t const * p_interface_desc, (*p_length) = sizeof(tusb_desc_interface_t);
uint8_t found_endpoints = 0;
- while (found_endpoints < p_interface_desc->bNumEndpoints) {
+ while (found_endpoints < p_interface_desc->bNumEndpoints)
+ {
if ( TUSB_DESC_ENDPOINT == p_desc[DESC_OFFSET_TYPE])
{
TU_ASSERT( dcd_edpt_open(rhport, (tusb_desc_endpoint_t const *) p_desc), false);
|
