From c8d7421ead631625e4986c0404fffa73b8fee991 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Sat, 19 Nov 2016 18:28:14 +0000 Subject: [PATCH] Don't allow CW ID to extend Tx stop time beyond normal sequence boundary. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7323 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 54f230203..bdb3804ba 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -2602,6 +2602,8 @@ void MainWindow::guiUpdate() double tx1=0.0; double tx2=txDuration; if((icw[0]>0) and (!m_bFast9)) tx2 += icw[0]*2560.0/48000.0; //Full length including CW ID + if(tx2>m_TRperiod) tx2=m_TRperiod; + if(!m_txFirst and !m_mode.startsWith ("WSPR")) { tx1 += m_TRperiod; tx2 += m_TRperiod;