mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-05 15:34:57 -04:00
PlutoSDR input: fixed frequency setting from preset deserialization
This commit is contained in:
@@ -103,6 +103,8 @@ qint64 PlutoSDRInputGui::getCenterFrequency() const
|
||||
void PlutoSDRInputGui::setCenterFrequency(qint64 centerFrequency)
|
||||
{
|
||||
m_settings.m_centerFrequency = centerFrequency;
|
||||
displaySettings();
|
||||
sendSettings();
|
||||
}
|
||||
|
||||
QByteArray PlutoSDRInputGui::serialize() const
|
||||
@@ -264,6 +266,7 @@ void PlutoSDRInputGui::displaySettings()
|
||||
|
||||
ui->dcOffset->setChecked(m_settings.m_dcBlock);
|
||||
ui->iqImbalance->setChecked(m_settings.m_iqCorrection);
|
||||
ui->loPPM->setValue(m_settings.m_LOppmTenths);
|
||||
ui->loPPMText->setText(QString("%1").arg(QString::number(m_settings.m_LOppmTenths/10.0, 'f', 1)));
|
||||
|
||||
ui->swDecim->setCurrentIndex(m_settings.m_log2Decim);
|
||||
|
||||
@@ -216,10 +216,10 @@
|
||||
<string>Local oscillator correction (ppm)</string>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>-100</number>
|
||||
<number>-200</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>100</number>
|
||||
<number>200</number>
|
||||
</property>
|
||||
<property name="pageStep">
|
||||
<number>1</number>
|
||||
@@ -881,7 +881,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Device RSSI indication</string>
|
||||
<string>Device RSSI indication (dB)</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>-100.00 dB</string>
|
||||
|
||||
Reference in New Issue
Block a user