From ef878344cdce61bb715ba8eb7a573ed989fb5bae Mon Sep 17 00:00:00 2001 From: lathoub Date: Sun, 22 Mar 2020 21:29:39 +0100 Subject: [PATCH] moved code to avoid doc clash --- src/MIDI.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/MIDI.hpp b/src/MIDI.hpp index aad49ef..7a23c53 100644 --- a/src/MIDI.hpp +++ b/src/MIDI.hpp @@ -1246,6 +1246,13 @@ bool MidiInterface::isChannelMessage(MidiType inT inType == ProgramChange); } +template +inline void MidiInterface::UpdateLastSentTime() +{ + if (Settings::UseSenderActiveSensing && mSenderActiveSensingPeriodicity) + mLastMessageSentTime = Platform::now(); +} + // ----------------------------------------------------------------------------- /*! \brief Detach an external function from the given type. @@ -1375,13 +1382,6 @@ inline void MidiInterface::turnThruOff() mThruFilterMode = Thru::Off; } -template -inline void MidiInterface::UpdateLastSentTime() -{ - if (Settings::UseSenderActiveSensing && mSenderActiveSensingPeriodicity) - mLastMessageSentTime = Platform::now(); -} - /*! @} */ // End of doc group MIDI Thru // This method is called upon reception of a message