From 7500adce8b42b3d2f5c42e4dc23437de285deae5 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Fri, 4 Dec 2020 14:53:45 -0500 Subject: [PATCH] Allow "@1500", etc., single-tone transmissions in Q65 mode. --- Modulator/Modulator.cpp | 2 +- widgets/mainwindow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modulator/Modulator.cpp b/Modulator/Modulator.cpp index 32645bec2..0d24485cd 100644 --- a/Modulator/Modulator.cpp +++ b/Modulator/Modulator.cpp @@ -318,7 +318,7 @@ qint64 Modulator::readData (char * data, qint64 maxSize) sample=qRound(m_amp*qSin(m_phi)); //Here's where we transmit from a precomputed wave[] array: - if(!m_tuning and (m_toneSpacing < 0)) { + if(!m_tuning and (m_toneSpacing < 0) and (itone[0]<100)) { m_amp=32767.0; sample=qRound(m_amp*foxcom_.wave[m_ic]); } diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 32048bc9e..41e2098f3 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -5156,7 +5156,7 @@ void MainWindow::genCQMsg () msgtype (QString {"%1 %2"}.arg(m_CQtype).arg(m_config.my_callsign()),ui->tx6); } } - if ((m_mode=="JT4" or m_mode=="QRA64") and ui->cbShMsgs->isChecked()) { + if ((m_mode=="JT4" or m_mode=="QRA64" or m_mode=="Q65") and ui->cbShMsgs->isChecked()) { if (ui->cbTx6->isChecked ()) { msgtype ("@1250 (SEND MSGS)", ui->tx6); } else {