mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Source plugins: put a serializer and deserializer in the core plugin for server. NFM demod: fixed deserializer
This commit is contained in:
@@ -125,7 +125,16 @@ bool HackRFInputGui::deserialize(const QByteArray& data)
|
||||
|
||||
bool HackRFInputGui::handleMessage(const Message& message)
|
||||
{
|
||||
if (HackRFInput::MsgReportHackRF::match(message))
|
||||
if (HackRFInput::MsgConfigureHackRF::match(message))
|
||||
{
|
||||
const HackRFInput::MsgConfigureHackRF& cfg = (HackRFInput::MsgConfigureHackRF&) message;
|
||||
m_settings = cfg.getSettings();
|
||||
blockApplySettings(true);
|
||||
displaySettings();
|
||||
blockApplySettings(false);
|
||||
return true;
|
||||
}
|
||||
else if (HackRFInput::MsgReportHackRF::match(message))
|
||||
{
|
||||
displaySettings();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user