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:
lathoub 2020-05-23 20:28:14 +02:00 committed by Francois Best
parent 59fafdbf1a
commit 12f05866cf
1 changed files with 2 additions and 2 deletions

View File

@ -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);
} }
} }