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
59fafdbf1a
commit
12f05866cf
|
|
@ -782,7 +782,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
|
||||||
|
|
@ -803,7 +803,7 @@ inline bool MidiInterface<Transport, Settings, Platform>::read(Channel inChannel
|
||||||
{
|
{
|
||||||
mReceiverActiveSensingActive = true;
|
mReceiverActiveSensingActive = true;
|
||||||
|
|
||||||
mActiveSensingTimeoutCallback(false);
|
mActiveSensingTimeoutCallback(mReceiverActiveSensingActive);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue