mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-02-03 09:44:24 -05:00
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:
parent
15220599d3
commit
3a4c4ed7ce
@ -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
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user