Skip to content

Commit 28f871f

Browse files
committed
use PluggableUSB method instead of singleton
1 parent e32479c commit 28f871f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MIDIUSB.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,5 +181,5 @@ MIDI_::MIDI_(void) : PUSBListNode(2, 2, epType)
181181
{
182182
epType[0] = EP_TYPE_BULK_OUT_MIDI; // MIDI_ENDPOINT_OUT
183183
epType[1] = EP_TYPE_BULK_IN_MIDI; // MIDI_ENDPOINT_IN
184-
PluggableUSB.plug(this);
184+
PluggableUSB().plug(this);
185185
}

0 commit comments

Comments
 (0)