mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-26 12:04:13 -04:00
New Jogdial Controller feature plugin. Implements #1088
This commit is contained in:
@@ -219,6 +219,19 @@ bool PacketDemod::handleMessage(const Message& cmd)
|
||||
}
|
||||
}
|
||||
|
||||
void PacketDemod::setCenterFrequency(qint64 frequency)
|
||||
{
|
||||
PacketDemodSettings settings = m_settings;
|
||||
settings.m_inputFrequencyOffset = frequency;
|
||||
applySettings(settings, false);
|
||||
|
||||
if (m_guiMessageQueue) // forward to GUI if any
|
||||
{
|
||||
MsgConfigurePacketDemod *msgToGUI = MsgConfigurePacketDemod::create(settings, false);
|
||||
m_guiMessageQueue->push(msgToGUI);
|
||||
}
|
||||
}
|
||||
|
||||
void PacketDemod::applySettings(const PacketDemodSettings& settings, bool force)
|
||||
{
|
||||
qDebug() << "PacketDemod::applySettings:"
|
||||
|
||||
Reference in New Issue
Block a user