mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-07-30 20:52:28 -04:00
BugFix: Rearrange code in decoder.f90, only Fox needs to open houndcallers.txt.
This commit is contained in:
parent
2f96a3ba9c
commit
35ea5f5761
@ -67,7 +67,19 @@ subroutine multimode_decoder(ss,id2,params,nfsample)
|
||||
else
|
||||
open(13,file=trim(temp_dir)//'/decoded.txt',status='unknown',iostat=ios)
|
||||
endif
|
||||
if(ios.ne.0) then
|
||||
nfail=nfail+1
|
||||
if(nfail.le.3) then
|
||||
call sleep_msec(10)
|
||||
go to 10
|
||||
endif
|
||||
endif
|
||||
|
||||
if(params%nmode.eq.8) then
|
||||
! We're in FT8 mode
|
||||
|
||||
if(ncontest.eq.5) then
|
||||
! Fox mode: initialize and open houndcallers.txt
|
||||
inquire(file=trim(temp_dir)//'/houndcallers.txt',exist=ex)
|
||||
if(.not.ex) then
|
||||
c2fox=' '
|
||||
@ -81,16 +93,6 @@ subroutine multimode_decoder(ss,id2,params,nfsample)
|
||||
open(19,file=trim(temp_dir)//'/houndcallers.txt',status='unknown')
|
||||
endif
|
||||
|
||||
if(ios.ne.0) then
|
||||
nfail=nfail+1
|
||||
if(nfail.le.3) then
|
||||
call sleep_msec(10)
|
||||
go to 10
|
||||
endif
|
||||
endif
|
||||
|
||||
if(params%nmode.eq.8) then
|
||||
! We're in FT8 mode
|
||||
call timer('decft8 ',0)
|
||||
newdat=params%newdat
|
||||
ncontest=iand(params%nexp_decode,7)
|
||||
@ -106,6 +108,9 @@ subroutine multimode_decoder(ss,id2,params,nfsample)
|
||||
n30max=maxval(n30fox(1:nfox))
|
||||
endif
|
||||
j=0
|
||||
|
||||
if(ncontest.eq.5) then
|
||||
! Fox mode: save decoded Hound calls for possible selection by FoxOp
|
||||
rewind 19
|
||||
if(nfox.eq.0) then
|
||||
endfile 19
|
||||
@ -134,6 +139,7 @@ subroutine multimode_decoder(ss,id2,params,nfsample)
|
||||
nfox=j
|
||||
flush(19)
|
||||
endif
|
||||
endif
|
||||
go to 800
|
||||
endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user