1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 17:28:50 -05:00

Freq Tracker: implemented channel API features feedback blocking counter

This commit is contained in:
f4exb 2020-10-24 10:34:36 +02:00
parent c87ca8c143
commit d2b50353da

View File

@ -258,8 +258,13 @@ void FreqTracker::applySettings(const FreqTrackerSettings& settings, bool force)
webapiReverseSendSettings(reverseAPIKeys, settings, fullUpdate || force);
}
if (m_featuresSettingsFeedback.size() > 0) {
featuresSendSettings(reverseAPIKeys, settings, force);
if (m_featuresSettingsFeedback.size() > 0)
{
if (m_featuresSettingsFeedbackBlockCount == 0) {
featuresSendSettings(reverseAPIKeys, settings, force);
} else {
m_featuresSettingsFeedbackBlockCount--;
}
}
m_settings = settings;