Faster decoding if mode65==0.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@7526 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2017-01-17 19:21:57 +00:00
parent 6248f71362
commit 8ee47c1768
3 changed files with 8 additions and 5 deletions

View File

@ -118,7 +118,6 @@ subroutine map65a(dd,ss,savg,newdat,nutc,fcenter,ntol,idphi,nfa,nfb, &
enddo enddo
if(smax.gt.1.1 .or. ia.eq.ib) then if(smax.gt.1.1 .or. ia.eq.ib) then
if(nqd.lt.2) then if(nqd.lt.2) then
! Look for JT65 sync patterns and shorthand square-wave patterns. ! Look for JT65 sync patterns and shorthand square-wave patterns.
call timer('ccf65 ',0) call timer('ccf65 ',0)
@ -354,7 +353,7 @@ subroutine map65a(dd,ss,savg,newdat,nutc,fcenter,ntol,idphi,nfa,nfb, &
1013 format('<QuickDecodeDone>',2i4) 1013 format('<QuickDecodeDone>',2i4)
flush(6) flush(6)
endif endif
! if(nqd.eq.2) exit !### TESTING: do only QRA64 if(nqd.eq.2 .and. mode65.eq.0) go to 999
if(nagain.eq.1 .and. nqd.eq.1) go to 999 if(nagain.eq.1 .and. nqd.eq.1) go to 999
enddo enddo

View File

@ -87,15 +87,21 @@ subroutine qra64c(cx,cy,nutc,nqd,ikhz,nfqso,ntol,xpol,mycall_12, &
irc=-99 irc=-99
s3lim=20. s3lim=20.
itryz=5
itz=11 itz=11
if(mode64.eq.4) itz=9 if(mode64.eq.4) itz=9
if(mode64.eq.2) itz=7 if(mode64.eq.2) itz=7
if(mode64.eq.1) itz=5 if(mode64.eq.1) itz=5
if(mode64.eq.1) then
itz=0
itryz=1
endif
LL=64*(mode64+2) LL=64*(mode64+2)
NN=63 NN=63
napmin=99 napmin=99
do itry0=1,5 do itry0=1,itryz
idt=itry0/2 idt=itry0/2
if(mod(itry0,2).eq.0) idt=-idt if(mod(itry0,2).eq.0) idt=-idt
jpk=jpk0 + 750*idt jpk=jpk0 + 750*idt

View File

@ -1530,7 +1530,6 @@ void MainWindow::guiUpdate()
int itx=0; int itx=0;
ptt_(&m_pttPort,&itx,&iptt); // Lower PTT ptt_(&m_pttPort,&itx,&iptt); // Lower PTT
if(!m_txMute) { if(!m_txMute) {
// qDebug() << "C";
soundOutThread.quitExecution=true;\ soundOutThread.quitExecution=true;\
} }
m_transmitting=false; m_transmitting=false;
@ -2062,7 +2061,6 @@ void MainWindow::on_actionErase_map65_tx_log_triggered() //Erase Tx log
void MainWindow::on_actionNoJT65_triggered() void MainWindow::on_actionNoJT65_triggered()
{ {
m_modeJT65=0; m_modeJT65=0;
qDebug() << QPalette::Window;
lab5->setStyleSheet(""); lab5->setStyleSheet("");
lab5->setText(""); lab5->setText("");
} }