Senc correct Tx tone after switching from JT4 to Echo mode.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5573 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2015-06-10 14:58:55 +00:00
parent ab718e2d7f
commit f04a81dca0
2 changed files with 3 additions and 3 deletions

View File

@ -127,8 +127,8 @@ void Modulator::close ()
qint64 Modulator::readData (char * data, qint64 maxSize)
{
static int j0=-1;
static double toneFrequency0;
double toneFrequency;
static double toneFrequency0=1500.0;
double toneFrequency=1500.0;
if(maxSize==0) return 0;
Q_ASSERT (!(maxSize % qint64 (bytesPerFrame ()))); // no torn frames

View File

@ -1980,7 +1980,7 @@ void MainWindow::guiUpdate()
m_lastMessageType = m_currentMessageType;
}
m_currentMessageType = 0;
if(m_tune) {
if(m_tune or m_mode=="Echo") {
itone[0]=0;
} else {
if(m_modeTx=="JT4") gen4_(message, &ichk , msgsent, const_cast<int *> (itone),