1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

LimeSDR: optimize external clock frequency change by not doing it if the frequency is changed and external clock is disabled

This commit is contained in:
f4exb
2017-11-05 10:31:41 +01:00
parent 41eaa957f1
commit 17dd0f5daf
2 changed files with 4 additions and 4 deletions
@@ -987,7 +987,7 @@ bool LimeSDRInput::applySettings(const LimeSDRInputSettings& settings, bool forc
}
if ((m_settings.m_extClock != settings.m_extClock) ||
(m_settings.m_extClockFreq != settings.m_extClockFreq) || force)
(settings.m_extClock && (m_settings.m_extClockFreq != settings.m_extClockFreq)) || force)
{
if (DeviceLimeSDR::setClockSource(m_deviceShared.m_deviceParams->getDevice(),