mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 09:48:45 -05:00
BFM demod: serialize/deserialize rds active
This commit is contained in:
parent
9a16afd744
commit
c6b8b85887
@ -92,6 +92,8 @@ QByteArray BFMDemodSettings::serialize() const
|
|||||||
s.writeBlob(20, m_rollupState->serialize());
|
s.writeBlob(20, m_rollupState->serialize());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s.writeBool(21, m_rdsActive);
|
||||||
|
|
||||||
return s.final();
|
return s.final();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -164,6 +166,8 @@ bool BFMDemodSettings::deserialize(const QByteArray& data)
|
|||||||
m_rollupState->deserialize(bytetmp);
|
m_rollupState->deserialize(bytetmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
d.readBool(21, &m_rdsActive, false);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user