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

Rename SDRDaemonSink device plugin to RemoteOutput (2): REST API

This commit is contained in:
f4exb
2019-02-02 23:27:34 +01:00
parent ad66b4af49
commit ffb766b42d
258 changed files with 605 additions and 600 deletions
@@ -550,9 +550,9 @@ void RemoteOutputSinkGui::analyzeApiReply(const QJsonObject& jsonObject)
{
QString infoLine;
if (jsonObject.contains("DaemonSourceReport"))
if (jsonObject.contains("RemoteSourceReport"))
{
QJsonObject report = jsonObject["DaemonSourceReport"].toObject();
QJsonObject report = jsonObject["RemoteSourceReport"].toObject();
m_deviceCenterFrequency = report["deviceCenterFreq"].toInt() * 1000;
m_deviceUISet->getSpectrum()->setCenterFrequency(m_deviceCenterFrequency);
ui->centerFrequency->setValue(m_deviceCenterFrequency/1000);