Corrected tendency to decode twice on a fast computer.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@997 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2008-07-25 10:58:31 +00:00
parent bf22617fad
commit ecf571a2c9
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#---------------------------------------------------------------------- MAP65
#--------------------------------------------------------------------- MAP65
# $Date$ $Revision$
#
from Tkinter import *

View File

@ -45,6 +45,7 @@ subroutine recvpkt(iarg)
if(ntx.eq.0) kb=3-kb
k=(kb-1)*60*96000
ndone1=0
ndone2=0
ntx=0
lost_tot=0
kxp=k
@ -117,9 +118,10 @@ subroutine recvpkt(iarg)
endif
! See if it's time to start second stage of processing
if(ndone1.eq.1 .and. ns.ge.nt2) then
if(ndone1.eq.1 .and. ns.ge.nt2 .and.ndone2.eq.0) then
kk=k
nlost=lost_tot ! Save stats for printout
ndone2=1
endif
endif