mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-23 04:28:36 -04:00
Zero the wave() array at start of subroutine sfox_wave_gfsk.f90.
This commit is contained in:
parent
25097b6baa
commit
149c177d5f
@ -31,6 +31,7 @@ subroutine sfox_wave_gfsk(fname)
|
||||
enddo
|
||||
first=.false.
|
||||
endif
|
||||
wave=0.
|
||||
|
||||
open(25,file=trim(fname),status='unknown',err=999)
|
||||
read(25,'(20i4)',err=999,end=999) itone
|
||||
@ -48,7 +49,6 @@ subroutine sfox_wave_gfsk(fname)
|
||||
dphi(0:2*NSPS-1)=dphi(0:2*NSPS-1)+dphi_peak*itone(1)*pulse(NSPS+1:3*NSPS)
|
||||
dphi(NSYM*NSPS:(NSYM+2)*NSPS-1)=dphi(NSYM*NSPS:(NSYM+2)*NSPS-1)+dphi_peak*itone(NSYM)*pulse(1:2*NSPS)
|
||||
|
||||
wave=0.
|
||||
phi=0.d0
|
||||
f0=750.0d0
|
||||
dphi=dphi+twopi*f0*dt
|
||||
|
Loading…
Reference in New Issue
Block a user