From 441936111ad3c526cfa3f9559df349889aa11279 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Thu, 12 Jul 2018 16:19:33 -0400 Subject: [PATCH] Output i3bits in FT8 decoder from JT9 --- lib/ft8/ft8b.f90 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/ft8/ft8b.f90 b/lib/ft8/ft8b.f90 index 7d34531..341d921 100644 --- a/lib/ft8/ft8b.f90 +++ b/lib/ft8/ft8b.f90 @@ -380,6 +380,7 @@ subroutine ft8b(dd0,newdat,nQSOProgress,nfqso,nftx,ndepth,lapon,lapcqonly, & if(i3bit.eq.1) decoded(57:)=0 call extractmessage174(decoded,message,ncrcflag) decoded=decoded0 + ! This needs fixing for messages with i3bit=1: call genft8(message,mygrid6,bcontest,i3bit,msgsent,msgbits,itone) if(lsubtract) call subtractft8(dd0,itone,f1,xdt2) @@ -397,6 +398,7 @@ subroutine ft8b(dd0,newdat,nQSOProgress,nfqso,nftx,ndepth,lapon,lapcqonly, & if(.not.nagain) xsnr=xsnr2 if(xsnr .lt. -24.0) xsnr=-24.0 + if(i3bit.eq.1) then do i=1,12 i1hiscall(i)=ichar(hiscall12(i:i)) @@ -431,6 +433,10 @@ subroutine ft8b(dd0,newdat,nQSOProgress,nfqso,nftx,ndepth,lapon,lapcqonly, & else msg37=message//' ' endif + + if(i3bit.gt.1) then + msg37(22:22) = char(48 + i3bit) + endif return endif