New format for end-of-line flags in JT4 and JT65; starting work on

establishing sync in JT4.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6685 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2016-05-19 16:13:51 +00:00
parent 966e40782c
commit d7e99fa4f2
3 changed files with 46 additions and 58 deletions
+1 -5
View File
@@ -2072,11 +2072,7 @@ void MainWindow::readFromStdout() //readFromStdout
QByteArray t=proc_jt9.readLine();
bool bAvgMsg=false;
int navg=0;
if(m_mode=="JT4") {
t=t.mid(0,39) + t.mid(42,t.length()-42);
bAvgMsg=(t.length()>49);
}
if(m_mode=="JT65") {
if(m_mode=="JT4" or m_mode=="JT65") {
int n=t.indexOf("f");
if(n<0) n=t.indexOf("d");
if(n>0) {