From 6a151a63cc6ac30c1f603b38c7a603f6c2f16feb Mon Sep 17 00:00:00 2001 From: Uwe Risse Date: Wed, 31 May 2023 17:45:40 +0200 Subject: [PATCH] Temporarily disable auto-clearing of a hung decoder status as it might confuse the nDecodes counter. --- widgets/mainwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 0bccbec91..4078be222 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -3917,8 +3917,8 @@ void MainWindow::readFromStdout() //readFromStdout bool bAvgMsg=false; int navg=0; - qint64 ms = QDateTime::currentMSecsSinceEpoch() % 86400000; - double fTR=float((ms%int(1000.0*m_TRperiod)))/int(1000.0*m_TRperiod); +// qint64 ms = QDateTime::currentMSecsSinceEpoch() % 86400000; +// double fTR=float((ms%int(1000.0*m_TRperiod)))/int(1000.0*m_TRperiod); if(line_read.indexOf("") >= 0) { m_bDecoded = line_read.mid(20).trimmed().toInt() > 0; int n=line_read.trimmed().size(); @@ -3978,7 +3978,7 @@ void MainWindow::readFromStdout() //readFromStdout } m_tBlankLine = line_read.left(ntime); } - if(m_mode=="FT8" && fTR>0.6 && fTR<0.75) decodeDone(); // Clear a hung decoder status +// if(m_mode=="FT8" && fTR>0.6 && fTR<0.75) decodeDone(); // Clear a hung decoder status } if ("FST4W" == m_mode) {