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

Test Source: new combo box for auto correction options (2)

This commit is contained in:
f4exb
2018-02-04 22:52:31 +01:00
parent 5f49dff49d
commit 6b26543655
5 changed files with 110 additions and 3 deletions
@@ -81,7 +81,7 @@ bool TestSourceSettings::deserialize(const QByteArray& data)
d.readS32(7, &m_amplitudeBits, 128);
d.readS32(8, &intval, 0);
if (intval < 0 || intval > (int) AutoCorrDCAndIQ) {
if (intval < 0 || intval > (int) AutoCorrLast) {
m_autoCorrOptions = AutoCorrNone;
} else {
m_autoCorrOptions = (AutoCorrOptions) intval;