mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-05 10:43:11 -04:00
Massive UI revamping (v7): devices basic
This commit is contained in:
@@ -53,6 +53,7 @@ void PlutoSDRInputSettings::resetToDefaults()
|
||||
m_reverseAPIAddress = "127.0.0.1";
|
||||
m_reverseAPIPort = 8888;
|
||||
m_reverseAPIDeviceIndex = 0;
|
||||
m_workspaceIndex = 0;
|
||||
}
|
||||
|
||||
QByteArray PlutoSDRInputSettings::serialize() const
|
||||
@@ -83,6 +84,8 @@ QByteArray PlutoSDRInputSettings::serialize() const
|
||||
s.writeBool(23, m_hwRFDCBlock);
|
||||
s.writeBool(24, m_hwIQCorrection);
|
||||
s.writeBool(25, m_iqOrder);
|
||||
s.writeS32(26, m_workspaceIndex);
|
||||
s.writeBlob(27, m_geometryBytes);
|
||||
|
||||
return s.final();
|
||||
}
|
||||
@@ -155,6 +158,8 @@ bool PlutoSDRInputSettings::deserialize(const QByteArray& data)
|
||||
d.readBool(23, &m_hwRFDCBlock, true);
|
||||
d.readBool(24, &m_hwIQCorrection, true);
|
||||
d.readBool(25, &m_iqOrder, true);
|
||||
d.readS32(26, &m_workspaceIndex, 0);
|
||||
d.readBlob(27, &m_geometryBytes);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user