Skip to content

Commit 37ef1d4

Browse files
authored
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 ca3371a commit 37ef1d4

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
@@ -736,7 +736,7 @@ inline bool MidiInterface<Transport, Settings, Platform>::read(Channel inChannel
736736

737737
// its up to the handler to send the stop processing messages
738738
// (also, no clue what the channel is on which to send them)
739-
mActiveSensingTimeoutCallback(true);
739+
mActiveSensingTimeoutCallback(mReceiverActiveSensingActive);
740740
}
741741
}
742742
#endif
@@ -757,7 +757,7 @@ inline bool MidiInterface<Transport, Settings, Platform>::read(Channel inChannel
757757
{
758758
mReceiverActiveSensingActive = true;
759759

760-
mActiveSensingTimeoutCallback(false);
760+
mActiveSensingTimeoutCallback(mReceiverActiveSensingActive);
761761
}
762762
}
763763

0 commit comments

Comments
 (0)