1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 09:48:45 -05:00

Frequency tracker: REST API: added tracking delta frequency in report. Implements #550

This commit is contained in:
f4exb 2020-06-27 05:35:58 +02:00
parent 01a26d51dd
commit 111c7237aa

View File

@ -443,6 +443,7 @@ void FreqTracker::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& respo
response.getFreqTrackerReport()->setSquelch(m_basebandSink->getSquelchOpen() ? 1 : 0); response.getFreqTrackerReport()->setSquelch(m_basebandSink->getSquelchOpen() ? 1 : 0);
response.getFreqTrackerReport()->setSampleRate(m_basebandSink->getSampleRate()); response.getFreqTrackerReport()->setSampleRate(m_basebandSink->getSampleRate());
response.getFreqTrackerReport()->setChannelSampleRate(m_basebandSink->getChannelSampleRate()); response.getFreqTrackerReport()->setChannelSampleRate(m_basebandSink->getChannelSampleRate());
response.getFreqTrackerReport()->setTrackingDeltaFrequency(getAvgDeltaFreq());
} }
void FreqTracker::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const FreqTrackerSettings& settings, bool force) void FreqTracker::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const FreqTrackerSettings& settings, bool force)