diff options
| author | Iain R. Learmonth <irl@debian.org> | 2015-10-18 18:51:00 +0100 |
|---|---|---|
| committer | Iain R. Learmonth <irl@debian.org> | 2015-10-18 18:51:00 +0100 |
| commit | d63dd8d081a6fcd0715cd13f26df59fb831769d2 (patch) | |
| tree | b9c1f6245147a310aac3762630bad389bbb57335 /lib/genjt9.f90 | |
| parent | c720a3d55c5ec832c29cb7ce50b6fb4b70c55b11 (diff) | |
Imported Upstream version 1.5.0upstream/1.5.0
Diffstat (limited to 'lib/genjt9.f90')
| -rw-r--r-- | lib/genjt9.f90 | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/genjt9.f90 b/lib/genjt9.f90 index 90427e1c..5dd8c0c8 100644 --- a/lib/genjt9.f90 +++ b/lib/genjt9.f90 @@ -1,4 +1,4 @@ -subroutine genjt9(msg0,ichk,msgsent,i4tone,itext)
+subroutine genjt9(msg0,ichk,msgsent,i4tone,itype)
! Encodes a JT9 message and returns msgsent, the message as it will
! be decoded, and an integer array i4tone(85) of 9-FSK tone values
@@ -14,7 +14,6 @@ subroutine genjt9(msg0,ichk,msgsent,i4tone,itext) integer*4 i4DataSymbols(69) !Data symbols (values 0-7)
integer*4 i4GrayCodedSymbols(69) !Gray-coded symbols (values 0-7)
integer*4 i4tone(85) !Tone #s, data and sync (values 0-8)
- logical text
include 'jt9sync.f90'
save
@@ -31,9 +30,7 @@ subroutine genjt9(msg0,ichk,msgsent,i4tone,itext) message=message(i+1:)
enddo
- call packmsg(message,i4Msg6BitWords,text) !Pack message into 12 6-bit bytes
- itext=0
- if(text) itext=1
+ call packmsg(message,i4Msg6BitWords,itype) !Pack into 12 6-bit bytes
call unpackmsg(i4Msg6BitWords,msgsent) !Unpack to get msgsent
if(ichk.ne.0) go to 999
call entail(i4Msg6BitWords,i1Msg8BitBytes) !Add tail, convert to 8-bit bytes
|
