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
This commit is contained in:
lathoub 2021-06-05 08:55:25 +02:00 committed by François Best
parent d9149d19df
commit d501f4bb3d
1 changed files with 5 additions and 0 deletions

View File

@ -63,6 +63,11 @@ public:
#endif
}
void end()
{
mSerial.end();
}
bool beginTransmission(MidiType)
{
return true;