mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-01 12:47:55 -04:00
Fix UTC wrap-around problem with timing of CW ID. Fix WSPR label mi/km.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7276 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
1ea8591868
commit
8f9daaa0e9
@ -2855,10 +2855,10 @@ void MainWindow::guiUpdate()
|
|||||||
auto_tx_mode (false);
|
auto_tx_mode (false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if(m_config.id_interval () >0 and (!m_bFastMode)) {
|
|
||||||
if(m_config.id_interval () >0) {
|
if(m_config.id_interval () >0) {
|
||||||
int nmin=(m_sec0-m_secID)/60;
|
int nmin=(m_sec0-m_secID)/60;
|
||||||
if(nmin >= m_config.id_interval ()) {
|
if(m_sec0<m_secID) nmin=m_config.id_interval();
|
||||||
|
if(nmin >= m_config.id_interval()) {
|
||||||
icw[0]=m_ncw;
|
icw[0]=m_ncw;
|
||||||
m_secID=m_sec0;
|
m_secID=m_sec0;
|
||||||
}
|
}
|
||||||
@ -4363,8 +4363,10 @@ void MainWindow::WSPR_config(bool b)
|
|||||||
ui->logQSOButton->setVisible(!b);
|
ui->logQSOButton->setVisible(!b);
|
||||||
ui->DecodeButton->setEnabled(!b);
|
ui->DecodeButton->setEnabled(!b);
|
||||||
if(b and (m_mode!="Echo")) {
|
if(b and (m_mode!="Echo")) {
|
||||||
ui->decodedTextLabel->setText(
|
QString t="UTC dB DT Freq Drift Call Grid dBm ";
|
||||||
"UTC dB DT Freq Drift Call Grid dBm km");
|
if(m_config.miles()) t += " mi";
|
||||||
|
if(!m_config.miles()) t += " km";
|
||||||
|
ui->decodedTextLabel->setText(t);
|
||||||
if (m_config.is_transceiver_online ()) {
|
if (m_config.is_transceiver_online ()) {
|
||||||
Q_EMIT m_config.transceiver_tx_frequency (0); // turn off split
|
Q_EMIT m_config.transceiver_tx_frequency (0); // turn off split
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user