mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 13:48:42 -05:00
Fix yet another mistake in coding "Call 1st". JT65 and JT9 decodes should now go correctly to Rx Freq window.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7838 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
0aa5c2f2d8
commit
e0e1d7cf40
@ -2721,6 +2721,7 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
|
|
||||||
//Right (Rx Frequency) window
|
//Right (Rx Frequency) window
|
||||||
bool bDisplayRight=bAvgMsg;
|
bool bDisplayRight=bAvgMsg;
|
||||||
|
int audioFreq=decodedtext.frequencyOffset();
|
||||||
|
|
||||||
if(m_mode=="FT8") {
|
if(m_mode=="FT8") {
|
||||||
int i1=decodedtext.string().indexOf(" "+m_baseCall+" ");
|
int i1=decodedtext.string().indexOf(" "+m_baseCall+" ");
|
||||||
@ -2730,10 +2731,11 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
processMessage(decodedtext.string(),43,false);
|
processMessage(decodedtext.string(),43,false);
|
||||||
m_bCallingCQ=false;
|
m_bCallingCQ=false;
|
||||||
} else {
|
} else {
|
||||||
int audioFreq=decodedtext.frequencyOffset();
|
|
||||||
audioFreq=decodedtext.string().mid(16,4).toInt();
|
audioFreq=decodedtext.string().mid(16,4).toInt();
|
||||||
if(i1>0 or (abs(audioFreq - m_wideGraph->rxFreq()) <= 10)) bDisplayRight=true;
|
if(i1>0 or (abs(audioFreq - m_wideGraph->rxFreq()) <= 10)) bDisplayRight=true;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
if(abs(audioFreq - m_wideGraph->rxFreq()) <= 10) bDisplayRight=true;
|
||||||
}
|
}
|
||||||
if (bDisplayRight) {
|
if (bDisplayRight) {
|
||||||
// This msg is within 10 hertz of our tuned frequency, or a JT4 or JT65 avg,
|
// This msg is within 10 hertz of our tuned frequency, or a JT4 or JT65 avg,
|
||||||
|
Loading…
Reference in New Issue
Block a user