mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 00:18:37 -05:00
Frequency tracker: REST API: added tracking delta frequency in report. Implements #550
This commit is contained in:
parent
01a26d51dd
commit
111c7237aa
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user