From 878871e1202632c45d2bd059448ad0541621a49b Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 3 Oct 2017 22:43:34 +0200 Subject: [PATCH] DSD demod: reorder parameters in configure method --- plugins/channelrx/demoddsd/dsddemod.cpp | 2 +- plugins/channelrx/demoddsd/dsddemod.h | 2 +- plugins/channelrx/demoddsd/dsddemodgui.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/channelrx/demoddsd/dsddemod.cpp b/plugins/channelrx/demoddsd/dsddemod.cpp index d06502a9f..ec85c0fca 100644 --- a/plugins/channelrx/demoddsd/dsddemod.cpp +++ b/plugins/channelrx/demoddsd/dsddemod.cpp @@ -106,8 +106,8 @@ DSDDemod::~DSDDemod() void DSDDemod::configure(MessageQueue* messageQueue, int rfBandwidth, + int fmDeviation, int demodGain, - int fmDeviation, int volume, int baudRate, int squelchGate, diff --git a/plugins/channelrx/demoddsd/dsddemod.h b/plugins/channelrx/demoddsd/dsddemod.h index 6c6a23253..9bbdb086c 100644 --- a/plugins/channelrx/demoddsd/dsddemod.h +++ b/plugins/channelrx/demoddsd/dsddemod.h @@ -70,10 +70,10 @@ public: void configure(MessageQueue* messageQueue, int rfBandwidth, + int fmDeviation, int demodGain, int volume, int baudRate, - int fmDeviation, int squelchGate, Real squelch, bool audioMute, diff --git a/plugins/channelrx/demoddsd/dsddemodgui.cpp b/plugins/channelrx/demoddsd/dsddemodgui.cpp index 00756059f..63b8ef874 100644 --- a/plugins/channelrx/demoddsd/dsddemodgui.cpp +++ b/plugins/channelrx/demoddsd/dsddemodgui.cpp @@ -408,8 +408,8 @@ void DSDDemodGUI::applySettings(bool force) m_dsdDemod->configure(m_dsdDemod->getInputMessageQueue(), ui->rfBW->value(), + ui->fmDeviation->value(), ui->demodGain->value(), - ui->fmDeviation->value(), ui->volume->value(), DSDDemodBaudRates::getRate(ui->baudRate->currentIndex()), ui->squelchGate->value(), // in 10ths of ms