mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 09:01:59 -05:00
Still trying to make data_dir work under all conditions. This makes it work with ft4d.
This commit is contained in:
parent
e3830dcb27
commit
7d70c5e9e1
@ -103,7 +103,7 @@ subroutine clockit(dname,k)
|
||||
|
||||
entry clockit2(data_dir)
|
||||
l1=index(data_dir,char(0))-1
|
||||
data_dir(l1+1:l1+1)='/'
|
||||
if(l1.ge.1) data_dir(l1+1:l1+1)='/'
|
||||
fname=data_dir(1:l1+1)//'clockit.out'
|
||||
return
|
||||
|
||||
|
@ -412,7 +412,7 @@ subroutine ft4_decode(cdatetime0,tbuf,nfa,nfb,nQSOProgress,ncontest,nfqso,iwave,
|
||||
write(line,1000) hhmmss,nsnr,tsig,nint(freq),message
|
||||
1000 format(a6,i4,f5.1,i5,' + ',1x,a37)
|
||||
l1=index(data_dir,char(0))-1
|
||||
data_dir(l1+1:l1+1)="/"
|
||||
if(l1.ge.1) data_dir(l1+1:l1+1)="/"
|
||||
fname=data_dir(1:l1+1)//'all_ft4.txt'
|
||||
open(24,file=trim(fname),status='unknown',position='append')
|
||||
write(24,1002) cdatetime0,nsnr,tsig,nint(freq),message, &
|
||||
|
Loading…
Reference in New Issue
Block a user