From f0fede4263f0c16f986244de480e409a27d5bcbc Mon Sep 17 00:00:00 2001 From: srcejon Date: Wed, 6 Sep 2023 15:59:06 +0100 Subject: [PATCH] Remove baud --- plugins/channeltx/modpsk31/psk31mod.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/plugins/channeltx/modpsk31/psk31mod.cpp b/plugins/channeltx/modpsk31/psk31mod.cpp index b6755f64a..5b733156d 100644 --- a/plugins/channeltx/modpsk31/psk31mod.cpp +++ b/plugins/channeltx/modpsk31/psk31mod.cpp @@ -427,9 +427,6 @@ void PSK31::webapiUpdateChannelSettings( if (channelSettingsKeys.contains("inputFrequencyOffset")) { settings.m_inputFrequencyOffset = response.getPsk31ModSettings()->getInputFrequencyOffset(); } - if (channelSettingsKeys.contains("baud")) { - settings.m_baud = response.getPsk31ModSettings()->getBaud(); - } if (channelSettingsKeys.contains("rfBandwidth")) { settings.m_rfBandwidth = response.getPsk31ModSettings()->getRfBandwidth(); } @@ -570,7 +567,6 @@ int PSK31::webapiActionsPost( void PSK31::webapiFormatChannelSettings(SWGSDRangel::SWGChannelSettings& response, const PSK31Settings& settings) { response.getPsk31ModSettings()->setInputFrequencyOffset(settings.m_inputFrequencyOffset); - response.getPsk31ModSettings()->setBaud(settings.m_baud); response.getPsk31ModSettings()->setRfBandwidth(settings.m_rfBandwidth); response.getPsk31ModSettings()->setGain(settings.m_gain); response.getPsk31ModSettings()->setChannelMute(settings.m_channelMute ? 1 : 0); @@ -720,9 +716,6 @@ void PSK31::webapiFormatChannelSettings( if (channelSettingsKeys.contains("inputFrequencyOffset") || force) { swgPSK31ModSettings->setInputFrequencyOffset(settings.m_inputFrequencyOffset); } - if (channelSettingsKeys.contains("baud") || force) { - swgPSK31ModSettings->setBaud((int) settings.m_baud); - } if (channelSettingsKeys.contains("rfBandwidth") || force) { swgPSK31ModSettings->setRfBandwidth(settings.m_rfBandwidth); }