Skip to content

Commit dc0a715

Browse files
committed
fix: add midi endpoint aliases as pointers
1 parent 5e7d6e4 commit dc0a715

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/machine/usb/descriptor/midi.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ var EndpointEP3OUT = EndpointType{
204204
}
205205

206206
var (
207-
EndpointMIDIIN = EndpointEP4IN
208-
EndpointMIDIOUT = EndpointEP3OUT
207+
EndpointMIDIIN = &EndpointEP4IN
208+
EndpointMIDIOUT = &EndpointEP3OUT
209209
)
210210

211211
var configurationCDCMIDI = [configurationTypeLen]byte{

0 commit comments

Comments
 (0)