Correct WSJT-X's display of UTC in FST280 decodes for TR < 60 s.

This commit is contained in:
Joe Taylor 2020-06-19 09:59:12 -04:00
parent 8933e43fb3
commit a4e32807d9

View File

@ -2874,7 +2874,7 @@ void MainWindow::decode() //decode()
m_msec0=QDateTime::currentMSecsSinceEpoch(); m_msec0=QDateTime::currentMSecsSinceEpoch();
if(!m_dataAvailable or m_TRperiod==0.0) return; if(!m_dataAvailable or m_TRperiod==0.0) return;
ui->DecodeButton->setChecked (true); ui->DecodeButton->setChecked (true);
if(!dec_data.params.nagain && m_diskData && !m_bFastMode && m_mode!="FT8" && m_mode!="FT4") { if(!dec_data.params.nagain && m_diskData && (m_TRperiod >= 60.0)) {
dec_data.params.nutc=dec_data.params.nutc/100; dec_data.params.nutc=dec_data.params.nutc/100;
} }
if(dec_data.params.nagain==0 && dec_data.params.newdat==1 && (!m_diskData)) { if(dec_data.params.nagain==0 && dec_data.params.newdat==1 && (!m_diskData)) {