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:
commit
c0a66516f6
|
|
@ -94,7 +94,7 @@ void MidiInterface<Transport, Settings, Platform>::begin(Channel inChannel)
|
|||
mMessage.length = 0;
|
||||
|
||||
mThruFilterMode = Thru::Full;
|
||||
mThruActivated = true;
|
||||
mThruActivated = mTransport.thruActivated;
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -51,7 +51,9 @@ public:
|
|||
};
|
||||
|
||||
public:
|
||||
void begin()
|
||||
static const bool thruActivated = true;
|
||||
|
||||
void begin()
|
||||
{
|
||||
// Initialise the Serial port
|
||||
#if defined(AVR_CAKE)
|
||||
|
|
|
|||
Loading…
Reference in New Issue