Fix it so dupe-checking works when "Also Q65-30x" is not checked.

This commit is contained in:
Joe Taylor 2023-12-17 15:09:31 -05:00
parent 50519bc282
commit 84ec6bb457
3 changed files with 5 additions and 5 deletions

View File

@ -121,9 +121,9 @@ subroutine q65b(nutc,nqd,fcenter,nfcal,nfsample,ikhz,mousedf,ntol, &
if(nsnr0.gt.-99) then
do i=1,ndecodes !Check for dupes
i1=index(result(i),trim(msg0))
if(i1.ge.1) go to 800
do i=1,ndecodes !Check for dupes
i1=index(result(i)(42:),trim(msg0))
if(i1.gt.0) go to 800 !This is a dupe, don't save it again
enddo
nq65df=nint(1000*(0.001*k0*df+nkhz_center-48.0+1.000-1.27046-ikhz))-nfcal

View File

@ -897,7 +897,7 @@ void MainWindow::decode() //decode()
datcom_.ndiskdat=0;
m_call3Modified=false;
if(!m_bAlso30 or (m_bAlso30 and (datcom2_.nhsym==200))) {
if((!m_bAlso30 and (datcom2_.nhsym==330)) or (m_bAlso30 and (datcom2_.nhsym==200))) {
decodes_.ndecodes=0; //Start the decode cycle with a clean slate
m_fetched=0;
}

View File

@ -288,7 +288,7 @@
<item row="1" column="4" colspan="2">
<widget class="QSpinBox" name="sbMaxDrift">
<property name="toolTip">
<string>Maximum drift rate in units of symbol rate per transmissiion.</string>
<string>Maximum drift rate in units of symbol rate per transmission.</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>