From c6b8b85887221bda38f8cbf6d7883211dd73936e Mon Sep 17 00:00:00 2001 From: f4exb Date: Sat, 15 Jan 2022 19:49:17 +0100 Subject: [PATCH] BFM demod: serialize/deserialize rds active --- plugins/channelrx/demodbfm/bfmdemodsettings.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/channelrx/demodbfm/bfmdemodsettings.cpp b/plugins/channelrx/demodbfm/bfmdemodsettings.cpp index 2a2c93bf8..ee2446627 100644 --- a/plugins/channelrx/demodbfm/bfmdemodsettings.cpp +++ b/plugins/channelrx/demodbfm/bfmdemodsettings.cpp @@ -92,6 +92,8 @@ QByteArray BFMDemodSettings::serialize() const s.writeBlob(20, m_rollupState->serialize()); } + s.writeBool(21, m_rdsActive); + return s.final(); } @@ -164,6 +166,8 @@ bool BFMDemodSettings::deserialize(const QByteArray& data) m_rollupState->deserialize(bytetmp); } + d.readBool(21, &m_rdsActive, false); + return true; } else