diff options
| author | Christoph Berg <myon@debian.org> | 2024-09-30 22:36:11 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2024-09-30 22:36:11 +0200 |
| commit | 4320ce238aae1fe87fc9f379cdd816e9317885fa (patch) | |
| tree | b9d97364486fc8b7f79e8e877d5d491bb061740f /lib/mskrtd.f90 | |
| parent | fbaeaa72f63f22bf0b53d634f6809cbdfbb46c9f (diff) | |
New upstream version 2.7.0~rc7+repackupstream/2.7.0_rc7+repack
Diffstat (limited to 'lib/mskrtd.f90')
| -rwxr-xr-x | lib/mskrtd.f90 | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/mskrtd.f90 b/lib/mskrtd.f90 index e169b288..068f6c40 100755 --- a/lib/mskrtd.f90 +++ b/lib/mskrtd.f90 @@ -16,8 +16,8 @@ subroutine mskrtd(id2,nutc0,tsec,ntol,nrxfreq,ndepth,mycall,hiscall, & character*4 decsym !"&" for mskspd or "^" for long averages
character*37 msgreceived !Decoded message
character*37 msglast,msglastswl !Used for dupechecking
- character*80 line !Formatted line with UTC dB T Freq Msg
- character*12 mycall,hiscall
+ character*(*) line !Formatted line with UTC dB T Freq Msg
+ character*(*) mycall,hiscall
character*37 recent_shmsgs(NSHMEM)
character*(*) datadir
@@ -70,15 +70,19 @@ subroutine mskrtd(id2,nutc0,tsec,ntol,nrxfreq,ndepth,mycall,hiscall, & msglastswl=' '
nsnrlast=-99
nsnrlastswl=-99
- mycall13=mycall//' '
- dxcall13=hiscall//' '
+! mycall13=mycall//' '
+! dxcall13=hiscall//' '
+ mycall13=' '
+ dxcall13=' '
+ mycall13(1:12)=mycall(1:12)
+ dxcall13(1:12)=hiscall(1:12)
first=.false.
endif
fc=nrxfreq
! Reset if mycall or dxcall changes
- if(mycall13(1:12).ne.mycall .or. dxcall13(1:12).ne.hiscall) first=.true.
+ if(mycall13(1:12).ne.mycall(1:12) .or. dxcall13(1:12).ne.hiscall(1:12)) first=.true.
! Dupe checking setup
if(nutc00.ne.nutc0 .or. tsec.lt.tsec0) then ! reset dupe checker
@@ -90,7 +94,7 @@ subroutine mskrtd(id2,nutc0,tsec,ntol,nrxfreq,ndepth,mycall,hiscall, & endif
tframe=float(NSPM)/12000.0
- line=char(0)
+ line(1:1)=char(0)
msgreceived=' '
max_iterations=10
niterations=0
|
