mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-29 07:28:54 -04:00
Increase ibwb; enforce MAX_CALLERS.
This commit is contained in:
parent
260f867cb9
commit
31bc12e3b9
@ -169,7 +169,8 @@ contains
|
|||||||
if(mode_q65.eq.2) ibwa=10 !Q65-60E
|
if(mode_q65.eq.2) ibwa=10 !Q65-60E
|
||||||
!###
|
!###
|
||||||
|
|
||||||
ibwb=min(15,ibwa+4)
|
! ibwb=min(15,ibwa+4)
|
||||||
|
ibwb=min(15,ibwa+6)
|
||||||
maxiters=40
|
maxiters=40
|
||||||
if(iand(ndepth,3).eq.2) maxiters=60
|
if(iand(ndepth,3).eq.2) maxiters=60
|
||||||
if(iand(ndepth,3).eq.3) then
|
if(iand(ndepth,3).eq.3) then
|
||||||
@ -177,7 +178,6 @@ contains
|
|||||||
ibwb=ibwb+2
|
ibwb=ibwb+2
|
||||||
maxiters=100
|
maxiters=100
|
||||||
endif
|
endif
|
||||||
! print*,'a',iand(ndepth,3),ibwa,ibwb,maxiters
|
|
||||||
|
|
||||||
! Generate codewords for full-AP list decoding
|
! Generate codewords for full-AP list decoding
|
||||||
if(ichar(hiscall(1:1)).eq.0) hiscall=' '
|
if(ichar(hiscall(1:1)).eq.0) hiscall=' '
|
||||||
@ -185,7 +185,8 @@ contains
|
|||||||
ncw=0
|
ncw=0
|
||||||
if(nqd.eq.1 .or. lagain) then
|
if(nqd.eq.1 .or. lagain) then
|
||||||
if(ncontest.eq.1) then
|
if(ncontest.eq.1) then
|
||||||
call q65_set_list2(mycall,hiscall,hisgrid,callers,nhist2,codewords,ncw)
|
call q65_set_list2(mycall,hiscall,hisgrid,callers,nhist2, &
|
||||||
|
codewords,ncw)
|
||||||
else
|
else
|
||||||
call q65_set_list(mycall,hiscall,hisgrid,codewords,ncw)
|
call q65_set_list(mycall,hiscall,hisgrid,codewords,ncw)
|
||||||
endif
|
endif
|
||||||
|
@ -895,6 +895,11 @@ subroutine q65_hist2(msg0,callers,nhist2)
|
|||||||
enddo
|
enddo
|
||||||
|
|
||||||
if(newcall .and. isgrid(g4)) then
|
if(newcall .and. isgrid(g4)) then
|
||||||
|
if(nhist2.eq.MAX_CALLERS) then
|
||||||
|
! Purge the oldest caller
|
||||||
|
callers(1:MAX_CALLERS-1)=callers(2:MAX_CALLERS)
|
||||||
|
nhist2=nhist2-1
|
||||||
|
endif
|
||||||
nhist2=nhist2+1
|
nhist2=nhist2+1
|
||||||
callers(nhist2)%call=c6
|
callers(nhist2)%call=c6
|
||||||
callers(nhist2)%grid=g4
|
callers(nhist2)%grid=g4
|
||||||
|
Loading…
Reference in New Issue
Block a user