mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 00:51:56 -05:00
Fix a bug in jt65_decode: crash when Rx Freq is set too close to upper freq limit on waterfall.
This commit is contained in:
parent
6da4be174c
commit
8e4ed9b3be
@ -179,6 +179,7 @@ contains
|
|||||||
ia=max(1,nint((nfa-100)/df))
|
ia=max(1,nint((nfa-100)/df))
|
||||||
ib=min(NSZ,nint((nfb+100)/df))
|
ib=min(NSZ,nint((nfb+100)/df))
|
||||||
nz=ib-ia+1
|
nz=ib-ia+1
|
||||||
|
if(nz.lt.50) go to 900
|
||||||
call lorentzian(savg(ia),nz,a)
|
call lorentzian(savg(ia),nz,a)
|
||||||
baseline=a(1)
|
baseline=a(1)
|
||||||
amp=a(2)
|
amp=a(2)
|
||||||
|
Loading…
Reference in New Issue
Block a user