diff options
| author | Christopher <github@phogy.com> | 2019-11-05 01:02:42 +0100 |
|---|---|---|
| committer | Joel Challis <git@zvecr.com> | 2019-11-05 00:02:42 +0000 |
| commit | 0a9a69394e132c3d00eddffd2e345f48113e56c4 (patch) | |
| tree | 4aef744c9cbbc66035239dcddd6200941a4dad4c /tmk_core | |
| parent | 31fe2e085902b80c0cc89fbce3d592e1db041530 (diff) | |
| download | qmk_firmware-0a9a69394e132c3d00eddffd2e345f48113e56c4.tar.gz qmk_firmware-0a9a69394e132c3d00eddffd2e345f48113e56c4.zip | |
Fixes #7256: USB descriptor to identify correctly as MIDI device. (#7258)
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/protocol/usb_descriptor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/usb_descriptor.c b/tmk_core/protocol/usb_descriptor.c index ffcf0957f..e93ce87df 100644 --- a/tmk_core/protocol/usb_descriptor.c +++ b/tmk_core/protocol/usb_descriptor.c | |||
| @@ -431,7 +431,7 @@ const USB_Descriptor_Configuration_t PROGMEM | |||
| 431 | 431 | ||
| 432 | .Refresh = 0, | 432 | .Refresh = 0, |
| 433 | .SyncEndpointNumber = 0}, | 433 | .SyncEndpointNumber = 0}, |
| 434 | .MIDI_In_Jack_Endpoint_SPC = {.Header = {.Size = sizeof(USB_MIDI_Descriptor_Jack_Endpoint_t), .Type = AUDIO_DSUBTYPE_CSEndpoint_General}, .Subtype = AUDIO_DSUBTYPE_CSEndpoint_General, .TotalEmbeddedJacks = 0x01, .AssociatedJackID = {0x01}}, | 434 | .MIDI_In_Jack_Endpoint_SPC = {.Header = {.Size = sizeof(USB_MIDI_Descriptor_Jack_Endpoint_t), .Type = AUDIO_DTYPE_CSEndpoint}, .Subtype = AUDIO_DSUBTYPE_CSEndpoint_General, .TotalEmbeddedJacks = 0x01, .AssociatedJackID = {0x01}}, |
| 435 | .MIDI_Out_Jack_Endpoint = {.Endpoint = {.Header = {.Size = sizeof(USB_Audio_Descriptor_StreamEndpoint_Std_t), .Type = DTYPE_Endpoint}, .EndpointAddress = MIDI_STREAM_IN_EPADDR, .Attributes = (EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA), .EndpointSize = MIDI_STREAM_EPSIZE, .PollingIntervalMS = 0x05}, | 435 | .MIDI_Out_Jack_Endpoint = {.Endpoint = {.Header = {.Size = sizeof(USB_Audio_Descriptor_StreamEndpoint_Std_t), .Type = DTYPE_Endpoint}, .EndpointAddress = MIDI_STREAM_IN_EPADDR, .Attributes = (EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA), .EndpointSize = MIDI_STREAM_EPSIZE, .PollingIntervalMS = 0x05}, |
| 436 | 436 | ||
| 437 | .Refresh = 0, | 437 | .Refresh = 0, |
