thruActivated as a property of the Transport layer

This commit is contained in:
lathoub 2020-04-23 22:08:15 +02:00
parent 419c74adfe
commit 99a981be5e
2 changed files with 4 additions and 2 deletions

View File

@ -94,7 +94,7 @@ void MidiInterface<Transport, Settings, Platform>::begin(Channel inChannel)
mMessage.length = 0; mMessage.length = 0;
mThruFilterMode = Thru::Full; mThruFilterMode = Thru::Full;
mThruActivated = true; mThruActivated = mTransport.thruActivated;
} }
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------

View File

@ -51,6 +51,8 @@ public:
}; };
public: public:
static const bool thruActivated = false;
void begin() void begin()
{ {
// Initialise the Serial port // Initialise the Serial port