thruActivated as a property of the Transport layer
This commit is contained in:
parent
419c74adfe
commit
99a981be5e
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,9 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void begin()
|
static const bool thruActivated = false;
|
||||||
|
|
||||||
|
void begin()
|
||||||
{
|
{
|
||||||
// Initialise the Serial port
|
// Initialise the Serial port
|
||||||
#if defined(AVR_CAKE)
|
#if defined(AVR_CAKE)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue