mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-03 22:45:05 -04:00
Source plugins: put a serializer and deserializer in the core plugin for server. NFM demod: fixed deserializer
This commit is contained in:
@@ -126,7 +126,16 @@ bool BladerfInputGui::deserialize(const QByteArray& data)
|
||||
|
||||
bool BladerfInputGui::handleMessage(const Message& message)
|
||||
{
|
||||
if (BladerfInput::MsgStartStop::match(message))
|
||||
if (BladerfInput::MsgConfigureBladerf::match(message))
|
||||
{
|
||||
const BladerfInput::MsgConfigureBladerf& cfg = (BladerfInput::MsgConfigureBladerf&) message;
|
||||
m_settings = cfg.getSettings();
|
||||
blockApplySettings(true);
|
||||
displaySettings();
|
||||
blockApplySettings(false);
|
||||
return true;
|
||||
}
|
||||
else if (BladerfInput::MsgStartStop::match(message))
|
||||
{
|
||||
BladerfInput::MsgStartStop& notif = (BladerfInput::MsgStartStop&) message;
|
||||
blockApplySettings(true);
|
||||
|
||||
Reference in New Issue
Block a user