mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-29 04:42:28 -04:00
Restore start decodes behaviour at top for FT8 segmented decoding
This commit is contained in:
parent
1d70b77c8a
commit
4de6f73f1b
@ -3173,13 +3173,16 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
write_all("Rx",line_read.trimmed());
|
write_all("Rx",line_read.trimmed());
|
||||||
int ntime=6;
|
int ntime=6;
|
||||||
if(m_TRperiod>=60) ntime=4;
|
if(m_TRperiod>=60) ntime=4;
|
||||||
if (m_config.insert_blank () && (line_read.left(ntime)!=m_tBlankLine) &&
|
if (line_read.left(ntime) != m_tBlankLine) {
|
||||||
SpecOp::FOX != m_config.special_op_id()) {
|
ui->decodedTextBrowser->new_period ();
|
||||||
QString band;
|
if (m_config.insert_blank ()
|
||||||
if((QDateTime::currentMSecsSinceEpoch() / 1000 - m_secBandChanged) > 4*int(m_TRperiod)/4) {
|
&& SpecOp::FOX != m_config.special_op_id()) {
|
||||||
band = ' ' + m_config.bands ()->find (m_freqNominal);
|
QString band;
|
||||||
}
|
if((QDateTime::currentMSecsSinceEpoch() / 1000 - m_secBandChanged) > 4*int(m_TRperiod)/4) {
|
||||||
ui->decodedTextBrowser->insertLineSpacer (band.rightJustified (40, '-'));
|
band = ' ' + m_config.bands ()->find (m_freqNominal);
|
||||||
|
}
|
||||||
|
ui->decodedTextBrowser->insertLineSpacer (band.rightJustified (40, '-'));
|
||||||
|
}
|
||||||
m_tBlankLine = line_read.left(ntime);
|
m_tBlankLine = line_read.left(ntime);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3498,11 +3501,6 @@ void MainWindow::decodeBusy(bool b) //decodeBusy()
|
|||||||
{
|
{
|
||||||
if (!b) {
|
if (!b) {
|
||||||
m_optimizingProgress.reset ();
|
m_optimizingProgress.reset ();
|
||||||
} else {
|
|
||||||
if (!m_decoderBusy)
|
|
||||||
{
|
|
||||||
ui->decodedTextBrowser->new_period ();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
m_decoderBusy=b;
|
m_decoderBusy=b;
|
||||||
ui->DecodeButton->setEnabled(!b);
|
ui->DecodeButton->setEnabled(!b);
|
||||||
@ -7703,11 +7701,14 @@ void MainWindow::p1ReadFromStdout() //p1readFromStdout
|
|||||||
rxLine += t1;
|
rxLine += t1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_config.insert_blank () && (rxLine.left(4)!=m_tBlankLine)) {
|
if (rxLine.left (4) != m_tBlankLine) {
|
||||||
QString band;
|
ui->decodedTextBrowser->new_period ();
|
||||||
Frequency f=1000000.0*rxFields.at(3).toDouble()+0.5;
|
if (m_config.insert_blank ()) {
|
||||||
band = ' ' + m_config.bands ()->find (f);
|
QString band;
|
||||||
ui->decodedTextBrowser->appendText(band.rightJustified (71, '-'));
|
Frequency f=1000000.0*rxFields.at(3).toDouble()+0.5;
|
||||||
|
band = ' ' + m_config.bands ()->find (f);
|
||||||
|
ui->decodedTextBrowser->appendText(band.rightJustified (71, '-'));
|
||||||
|
}
|
||||||
m_tBlankLine = rxLine.left(4);
|
m_tBlankLine = rxLine.left(4);
|
||||||
}
|
}
|
||||||
m_nWSPRdecodes += 1;
|
m_nWSPRdecodes += 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user