summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher <github@phogy.com>2019-11-05 01:02:42 +0100
committerFlorian Didron <fdidron@users.noreply.github.com>2020-01-09 08:57:11 +0900
commitc70de1d595b8ed7df4b40db56ee53cdeeedff4e8 (patch)
tree50cc8a2c0b2d3c981567468ad588211b6676d4ec
parentb4ff413d6987aad5485bde7eb06191b69c810369 (diff)
Fixes #7256: USB descriptor to identify correctly as MIDI device. (#7258)
-rw-r--r--tmk_core/protocol/usb_descriptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/usb_descriptor.c b/tmk_core/protocol/usb_descriptor.c
index 4dd2dfdc9e..57e93b88b4 100644
--- a/tmk_core/protocol/usb_descriptor.c
+++ b/tmk_core/protocol/usb_descriptor.c
@@ -476,7 +476,7 @@ const USB_Descriptor_Configuration_t PROGMEM
.Refresh = 0,
.SyncEndpointNumber = 0},
- .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}},
+ .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}},
.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},
.Refresh = 0,