return mReceiverActiveSensingActive in SensingTimeout Handler
return mReceiverActiveSensingActive in SensingTimeout Handler: - true when all is OK and active sensing is received on time - false when active sensing is **not** received on tome
This commit is contained in:
parent
ca3371a7f2
commit
37ef1d48d9
|
|
@ -736,7 +736,7 @@ inline bool MidiInterface<Transport, Settings, Platform>::read(Channel inChannel
|
||||||
|
|
||||||
// its up to the handler to send the stop processing messages
|
// its up to the handler to send the stop processing messages
|
||||||
// (also, no clue what the channel is on which to send them)
|
// (also, no clue what the channel is on which to send them)
|
||||||
mActiveSensingTimeoutCallback(true);
|
mActiveSensingTimeoutCallback(mReceiverActiveSensingActive);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -757,7 +757,7 @@ inline bool MidiInterface<Transport, Settings, Platform>::read(Channel inChannel
|
||||||
{
|
{
|
||||||
mReceiverActiveSensingActive = true;
|
mReceiverActiveSensingActive = true;
|
||||||
|
|
||||||
mActiveSensingTimeoutCallback(false);
|
mActiveSensingTimeoutCallback(mReceiverActiveSensingActive);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue