moved code to avoid doc clash

This commit is contained in:
lathoub 2020-03-22 21:29:39 +01:00
parent 8f492ec456
commit ef878344cd
1 changed files with 7 additions and 7 deletions

View File

@ -1246,6 +1246,13 @@ bool MidiInterface<Transport, Settings, Platform>::isChannelMessage(MidiType inT
inType == ProgramChange);
}
template<class Transport, class Settings, class Platform>
inline void MidiInterface<Transport, Settings, Platform>::UpdateLastSentTime()
{
if (Settings::UseSenderActiveSensing && mSenderActiveSensingPeriodicity)
mLastMessageSentTime = Platform::now();
}
// -----------------------------------------------------------------------------
/*! \brief Detach an external function from the given type.
@ -1375,13 +1382,6 @@ inline void MidiInterface<Transport, Settings, Platform>::turnThruOff()
mThruFilterMode = Thru::Off;
}
template<class Transport, class Settings, class Platform>
inline void MidiInterface<Transport, Settings, Platform>::UpdateLastSentTime()
{
if (Settings::UseSenderActiveSensing && mSenderActiveSensingPeriodicity)
mLastMessageSentTime = Platform::now();
}
/*! @} */ // End of doc group MIDI Thru
// This method is called upon reception of a message