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