mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Add a missing file; tweak the FT2 decoder.
This commit is contained in:
parent
5f03d97a9e
commit
2033a2b33d
6
lib/ft2/cdatetime.f90
Normal file
6
lib/ft2/cdatetime.f90
Normal file
@ -0,0 +1,6 @@
|
||||
character*17 function cdatetime()
|
||||
character cdate*8,ctime*10
|
||||
call date_and_time(cdate,ctime)
|
||||
cdatetime=cdate(3:8)//'_'//ctime
|
||||
return
|
||||
end function cdatetime
|
@ -7,7 +7,7 @@ subroutine ft2_decode(cdatetime0,nfqso,iwave,ndecodes,mycall,hiscall,nrx,line)
|
||||
character*61 line
|
||||
character*37 decodes(100)
|
||||
character*120 data_dir
|
||||
character*17 cdatetime0,cdatetime,cdt
|
||||
character*17 cdatetime0,cdatetime
|
||||
character*6 mycall,hiscall,hhmmss
|
||||
complex c2(0:NMAX/16-1) !Complex waveform
|
||||
complex cb(0:NMAX/16-1)
|
||||
@ -33,8 +33,8 @@ subroutine ft2_decode(cdatetime0,nfqso,iwave,ndecodes,mycall,hiscall,nrx,line)
|
||||
|
||||
hhmmss=' '
|
||||
if(cdatetime0==' ') then
|
||||
cdt=cdatetime()
|
||||
hhmmss=cdt(8:13)
|
||||
cdatetime0=cdatetime()
|
||||
hhmmss=cdatetime0(8:13)
|
||||
endif
|
||||
|
||||
fs=12000.0/NDOWN !Sample rate
|
||||
|
Loading…
Reference in New Issue
Block a user