thruActivated as a property of the Transport layer (#148)

* thruActivated as a property of the Transport layer

* thruActivated defaults to true

Co-authored-by: lathoub <lathoub@gmail.com>
This commit is contained in:
Francois Best 2020-04-24 06:44:59 +02:00 committed by GitHub
commit c0a66516f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,6 +51,8 @@ public:
};
public:
static const bool thruActivated = true;
void begin()
{
// Initialise the Serial port