mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 10:22:26 -04:00
Fix the problem "Tx did not start in the first Round-Robin sequence when it should have started".
This commit is contained in:
parent
902c0b7a59
commit
846b0b6ed8
@ -313,7 +313,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
|||||||
m_grid6 {false},
|
m_grid6 {false},
|
||||||
m_tuneup {false},
|
m_tuneup {false},
|
||||||
m_bTxTime {false},
|
m_bTxTime {false},
|
||||||
m_rxDone {false},
|
m_rxDone {true},
|
||||||
m_bSimplex {false},
|
m_bSimplex {false},
|
||||||
m_bEchoTxOK {false},
|
m_bEchoTxOK {false},
|
||||||
m_bTransmittedEcho {false},
|
m_bTransmittedEcho {false},
|
||||||
@ -8045,7 +8045,7 @@ void MainWindow::WSPR_scheduling ()
|
|||||||
qint64 ms = QDateTime::currentMSecsSinceEpoch() % 86400000;
|
qint64 ms = QDateTime::currentMSecsSinceEpoch() % 86400000;
|
||||||
int nsec=ms/1000;
|
int nsec=ms/1000;
|
||||||
int ntr=m_TRperiod;
|
int ntr=m_TRperiod;
|
||||||
int j=((nsec+ntr) % (n*ntr))/ntr;
|
int j=((nsec+ntr-1) % (n*ntr))/ntr;
|
||||||
m_WSPR_tx_next=(i==j);
|
m_WSPR_tx_next=(i==j);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user