Skip to content

Commit 12f0586

Browse files
lathoubfranky47
authored andcommitted
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
1 parent 59fafdb commit 12f0586

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MIDI.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ inline bool MidiInterface<Transport, Settings, Platform>::read(Channel inChannel
782782

783783
// its up to the handler to send the stop processing messages
784784
// (also, no clue what the channel is on which to send them)
785-
mActiveSensingTimeoutCallback(true);
785+
mActiveSensingTimeoutCallback(mReceiverActiveSensingActive);
786786
}
787787
}
788788
#endif
@@ -803,7 +803,7 @@ inline bool MidiInterface<Transport, Settings, Platform>::read(Channel inChannel
803803
{
804804
mReceiverActiveSensingActive = true;
805805

806-
mActiveSensingTimeoutCallback(false);
806+
mActiveSensingTimeoutCallback(mReceiverActiveSensingActive);
807807
}
808808
}
809809

0 commit comments

Comments
 (0)