From 6e6caa0d8274e134011a32833bc9b9c02970b1c9 Mon Sep 17 00:00:00 2001
From: Joe Taylor <joe@princeton.edu>
Date: Mon, 15 Jan 2024 19:49:10 -0500
Subject: [PATCH] Short decode cycles for 2nd half if we transmitted in 2nd
 half.

---
 qmap/libqmap/q65c.f90 | 2 ++
 qmap/mainwindow.cpp   | 5 +----
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/qmap/libqmap/q65c.f90 b/qmap/libqmap/q65c.f90
index 2c76756be..50b0b458e 100644
--- a/qmap/libqmap/q65c.f90
+++ b/qmap/libqmap/q65c.f90
@@ -73,10 +73,12 @@ subroutine q65c
      enddo
   endif
 
+  if(nhsym.gt.200 .and. ntx30b.gt.5) go to 10
   call timer('decode0 ',0)
   call decode0(dd,ss,savg)
   call timer('decode0 ',1)
 
+10 continue
   call date_and_time(VALUES=values)
   n60b=values(7)
   nd=n60b-n60
diff --git a/qmap/mainwindow.cpp b/qmap/mainwindow.cpp
index 5cfe1a61b..f389012d9 100644
--- a/qmap/mainwindow.cpp
+++ b/qmap/mainwindow.cpp
@@ -933,7 +933,7 @@ void MainWindow::decode()                                       //decode()
   }
 
   //No need to call decoder in second half, if we transmitted in that half:
-  if((datcom_.nhsym>200) and (m_nTx30b>5)) {
+  if((datcom_.nhsym==330) and (m_nTx30b>5)) {
     decodeBusy(false);
     return;
   }
@@ -945,9 +945,6 @@ void MainWindow::decode()                                       //decode()
   memcpy(savecom_.saveFileName, m_saveFileName.toLatin1(),len1);
 
   watcher3.setFuture(QtConcurrent::run (q65c_));
-  //,
-  //        m_saveFileName.toLatin1().constData(),
-  //        m_revision.toLatin1().constData(), len1, len2)));
   decodeBusy(true);
 }