mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-26 22:28:41 -05:00
Merged r6000 from development branch
Fixes a defect in jt65code. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx-1.5@6012 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
266ce20a8f
commit
c091fcc908
@ -6,7 +6,7 @@ program JT65code
|
||||
|
||||
character*22 testmsg(26)
|
||||
character*22 msg,msg0,msg1,decoded,cok*3,bad*1,msgtype*10
|
||||
integer dgen(12),sent(63),recd(12),era(51)
|
||||
integer dgen(12),sent(63),tmp(63),recd(12),era(51)
|
||||
|
||||
nargs=iargc()
|
||||
if(nargs.ne.1) then
|
||||
@ -80,9 +80,10 @@ program JT65code
|
||||
call rs_encode(dgen,sent) !RS encode
|
||||
call interleave63(sent,1) !Interleave channel symbols
|
||||
call graycode(sent,63,1,sent) !Apply Gray code
|
||||
call graycode(sent,63,-1,sent)
|
||||
call interleave63(sent,-1)
|
||||
call rs_decode(sent,era,0,recd,nerr)
|
||||
|
||||
call graycode(sent,63,-1,tmp) !Remove Gray code
|
||||
call interleave63(tmp,-1) !Remove interleaving
|
||||
call rs_decode(tmp,era,0,recd,nerr) !Decode the message
|
||||
call unpackmsg(recd,decoded) !Unpack the user message
|
||||
if(cok.eq."OOO") decoded(20:22)=cok
|
||||
call fmtmsg(decoded,iz)
|
||||
|
Loading…
Reference in New Issue
Block a user