From 37ef1d48d9093a3f9413a3efa8b99d4c2bbeb230 Mon Sep 17 00:00:00 2001 From: lathoub <4082369+lathoub@users.noreply.github.com> Date: Sat, 23 May 2020 20:28:14 +0200 Subject: [PATCH] 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 --- src/MIDI.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MIDI.hpp b/src/MIDI.hpp index 1276060..d304fa8 100644 --- a/src/MIDI.hpp +++ b/src/MIDI.hpp @@ -736,7 +736,7 @@ inline bool MidiInterface::read(Channel inChannel // its up to the handler to send the stop processing messages // (also, no clue what the channel is on which to send them) - mActiveSensingTimeoutCallback(true); + mActiveSensingTimeoutCallback(mReceiverActiveSensingActive); } } #endif @@ -757,7 +757,7 @@ inline bool MidiInterface::read(Channel inChannel { mReceiverActiveSensingActive = true; - mActiveSensingTimeoutCallback(false); + mActiveSensingTimeoutCallback(mReceiverActiveSensingActive); } }