From 494a8fc9a7448af4bb6a347f05d55d01e6f3c9de Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 27 Oct 2020 16:08:50 -0400 Subject: [PATCH] More cleanup: Q65 SNRs, reported irc values. --- lib/q65_decode.f90 | 3 ++- lib/qra/q65/q65_subs.c | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/q65_decode.f90 b/lib/q65_decode.f90 index d8c51816a..2c238b824 100644 --- a/lib/q65_decode.f90 +++ b/lib/q65_decode.f90 @@ -118,6 +118,7 @@ contains endif decoded=' ' if(irc.ge.0) then + irc=0 !### TEMPORARY ??? ### write(c77,1000) dat4 1000 format(12b6.6,b5.5) call unpack77(c77,0,decoded,unpk77_success) !Unpack to get msgsent @@ -125,7 +126,7 @@ contains call this%callback(nutc,sync,nsnr,xdt,f0,decoded, & irc,qual,ntrperiod,fmid,w50) else - nsnr=db(snr1) - 32.0 + nsnr=db(snr1) - 35.0 !### TEMPORARY? ### call this%callback(nutc,sync,nsnr,xdt,f0,decoded, & irc,qual,ntrperiod,fmid,w50) diff --git a/lib/qra/q65/q65_subs.c b/lib/qra/q65/q65_subs.c index 6908c7c8a..f589f7faa 100644 --- a/lib/qra/q65/q65_subs.c +++ b/lib/qra/q65/q65_subs.c @@ -91,8 +91,7 @@ void q65_dec_(float s3[], int APmask[], int APsymbols[], int* submode, *snr2500 = -31.0; if(rc<0) return; - // rc = q65_esnodb_fastfading(&codec,&esnodb,ydec,s3); - rc = q65_esnodb(&codec,&esnodb,ydec,s3); + rc = q65_esnodb_fastfading(&codec,&esnodb,ydec,s3); if(rc<0) { printf("error in q65_esnodb_fastfading()\n"); exit(0);