mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-06 07:07:49 -04:00
Don't allow SuperFox to transmit without a valid key.
This commit is contained in:
parent
3372fac76b
commit
4506b76671
@ -10,10 +10,12 @@ subroutine sfox_wave(fname)
|
|||||||
real*8 dt,twopi,f0,baud,phi,dphi
|
real*8 dt,twopi,f0,baud,phi,dphi
|
||||||
|
|
||||||
common/foxcom/wave(NWAVE)
|
common/foxcom/wave(NWAVE)
|
||||||
|
|
||||||
open(25,file=trim(fname),status='unknown',err=900)
|
wave=0.
|
||||||
read(25,'(20i4)',err=900,end=900) itone
|
open(25,file=trim(fname),status='unknown',err=999)
|
||||||
|
read(25,'(20i4)',err=999,end=999) itone
|
||||||
close(25)
|
close(25)
|
||||||
|
if(itone(1).lt.0 .or. itone(1).gt.128) go to 999
|
||||||
|
|
||||||
! Generate the SuperFox waveform.
|
! Generate the SuperFox waveform.
|
||||||
|
|
||||||
@ -34,7 +36,5 @@ subroutine sfox_wave(fname)
|
|||||||
enddo
|
enddo
|
||||||
enddo
|
enddo
|
||||||
|
|
||||||
900 continue
|
999 return
|
||||||
|
|
||||||
return
|
|
||||||
end subroutine sfox_wave
|
end subroutine sfox_wave
|
||||||
|
Loading…
x
Reference in New Issue
Block a user