mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 21:58:38 -05:00
FT8: make sure that nbadcrc is initialized to true before each decoding attempt.
This commit is contained in:
parent
9208ac55b8
commit
d147eae27e
@ -95,7 +95,6 @@ subroutine ft8b(dd0,newdat,nQSOProgress,nfqso,nftx,ndepth,nzhsym,lapon, &
|
|||||||
|
|
||||||
max_iterations=30
|
max_iterations=30
|
||||||
nharderrors=-1
|
nharderrors=-1
|
||||||
nbadcrc=1 ! this is used upstream to flag good decodes.
|
|
||||||
fs2=12000.0/NDOWN
|
fs2=12000.0/NDOWN
|
||||||
dt2=1.0/fs2
|
dt2=1.0/fs2
|
||||||
twopi=8.0*atan(1.0)
|
twopi=8.0*atan(1.0)
|
||||||
@ -417,6 +416,7 @@ subroutine ft8b(dd0,newdat,nQSOProgress,nfqso,nftx,ndepth,nzhsym,lapon, &
|
|||||||
call timer('dec174_91 ',1)
|
call timer('dec174_91 ',1)
|
||||||
|
|
||||||
msg37=' '
|
msg37=' '
|
||||||
|
nbadcrc=1
|
||||||
if(nharderrors.lt.0 .or. nharderrors.gt.36) cycle
|
if(nharderrors.lt.0 .or. nharderrors.gt.36) cycle
|
||||||
if(count(cw.eq.0).eq.174) cycle !Reject the all-zero codeword
|
if(count(cw.eq.0).eq.174) cycle !Reject the all-zero codeword
|
||||||
write(c77,'(77i1)') message77
|
write(c77,'(77i1)') message77
|
||||||
|
Loading…
Reference in New Issue
Block a user