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;
mThruFilterMode = Thru::Full;
mThruActivated = true;
mThruActivated = mTransport.thruActivated;
}
// -----------------------------------------------------------------------------

View File

@ -51,7 +51,9 @@ public:
};
public:
void begin()
static const bool thruActivated = false;
void begin()
{
// Initialise the Serial port
#if defined(AVR_CAKE)