Fix JT4 averaging regression

Fell  into the  Fortran  trap for  C/C++  programmers, automatic  SAVE
attribute on default initialized variables.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6326 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2015-12-30 14:57:50 +00:00
parent e94f7c0c05
commit 0bc01a19b1

View File

@ -184,8 +184,10 @@ contains
integer, intent(in) :: freq
logical, intent(in) :: flip
character(len=1) :: cused='.', csync='*'
character(len=1) :: cused, csync
cused = '.'
csync = '*'
if (used) cused = '$'
if (flip) csync = '$'
write(14,1000) cused,utc,sync,dt,freq,csync