diff options
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
|
