mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 22:14:45 -04:00
BladeRF2 output: implemented LO soft correction
This commit is contained in:
@@ -28,6 +28,7 @@ BladeRF2OutputSettings::BladeRF2OutputSettings()
|
||||
void BladeRF2OutputSettings::resetToDefaults()
|
||||
{
|
||||
m_centerFrequency = 435000*1000;
|
||||
m_LOppmTenths = 0;
|
||||
m_devSampleRate = 3072000;
|
||||
m_bandwidth = 1500000;
|
||||
m_globalGain = -3;
|
||||
@@ -41,6 +42,7 @@ QByteArray BladeRF2OutputSettings::serialize() const
|
||||
|
||||
s.writeS32(1, m_devSampleRate);
|
||||
s.writeS32(2, m_bandwidth);
|
||||
s.writeS32(3, m_LOppmTenths);
|
||||
s.writeS32(4, m_globalGain);
|
||||
s.writeBool(5, m_biasTee);
|
||||
s.writeU32(6, m_log2Interp);
|
||||
@@ -62,6 +64,7 @@ bool BladeRF2OutputSettings::deserialize(const QByteArray& data)
|
||||
{
|
||||
d.readS32(1, &m_devSampleRate);
|
||||
d.readS32(2, &m_bandwidth);
|
||||
d.readS32(3, &m_LOppmTenths);
|
||||
d.readS32(4, &m_globalGain);
|
||||
d.readBool(5, &m_biasTee);
|
||||
d.readU32(6, &m_log2Interp);
|
||||
|
||||
Reference in New Issue
Block a user