Fix PSK Reporter spots of FST4W decodes with power <10 dBm

This commit is contained in:
Bill Somerville 2020-08-15 23:29:53 +01:00
parent 6adb7d2249
commit b984390711
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
1 changed files with 2 additions and 3 deletions

View File

@ -3505,9 +3505,8 @@ void MainWindow::readFromStdout() //readFromStdout
bool okToPost=(nsec > int(4*m_TRperiod)/5);
if(m_mode=="FST4W" and okToPost) {
line_read=line_read.left(22) + " CQ " + line_read.trimmed().mid(22);
int n=line_read.trimmed().size();
line_read=line_read.trimmed().left(n-3);
DecodedText FST4W_post {QString::fromUtf8(line_read.constData())};
auto p = line_read.lastIndexOf (' ');
DecodedText FST4W_post {QString::fromUtf8 (line_read.left (p).constData ())};
pskPost(FST4W_post);
} else {
if (stdMsg && okToPost) pskPost(decodedtext);