Skip to content

Commit d501f4b

Browse files
lathoubfranky47
lathoub
authored andcommitted
end method for Serial Transport
The Transport layer is started, but could never be stopped. This change will allow the underlying library to call the end() method in the Transport layers (all other Transport layer have the end() method implemented) Next step is to call the Transport end() method, when ending the MIDI instance
1 parent d9149d1 commit d501f4b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/serialMIDI.h

+5
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ class SerialMIDI
6363
#endif
6464
}
6565

66+
void end()
67+
{
68+
mSerial.end();
69+
}
70+
6671
bool beginTransmission(MidiType)
6772
{
6873
return true;

0 commit comments

Comments
 (0)