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 GitHub
parent ca3371a7f2
commit 37ef1d48d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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