Get rid of multiple decodes of same signal.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2754 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2012-11-20 00:48:41 +00:00
parent 4535db44f4
commit b17cdd2abb
2 changed files with 3 additions and 3 deletions

View File

@ -106,7 +106,7 @@ subroutine decoder(ntrSeconds,ndepth,nRxLog,c00)
call decode9(i1SoftSymbols,limit,nlim,msg)
call timer('decode9 ',1)
sync=ccfred(i) - 2.0
sync=(ccfred(i)-1.0)/2.0
if(sync.lt.0.0) sync=0.0
nsync=sync
if(nsync.gt.10) nsync=10
@ -125,7 +125,7 @@ subroutine decoder(ntrSeconds,ndepth,nRxLog,c00)
fgood=f
nsynced=1
ndecoded=1
ccfred(max(ia,i):min(ib,i+8))=0.
ccfred(max(ia,i-3):min(ib,i+11))=0.
endif
endif
ccfred(i)=0.

View File

@ -1,4 +1,4 @@
//--------------------------------------------------------------- MainWindow
//-------------------------------------------------------------- MainWindow
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "devsetup.h"