From 137bc1ccab9ec2f3893de02d04fe21d77fed538a Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Thu, 15 Aug 2019 15:20:45 +0100 Subject: [PATCH] Tx waveform regeneration for GFSK modes Tx audio offset change --- widgets/mainwindow.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 45fad6b2a..3a9a3d8e3 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -6789,6 +6789,12 @@ void MainWindow::setFreq4(int rxFreq, int txFreq) } else { if (ui->TxFreqSpinBox->isEnabled ()) { ui->TxFreqSpinBox->setValue(txFreq); + if ("FT8" == m_mode || "FT4" == m_mode) + { + // we need to regenerate the current transmit waveform for + // GFSK modulated modes + m_restart = true; + } } else if (m_config.enable_VHF_features () && (Qt::ControlModifier & QApplication::keyboardModifiers ())) {