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
This commit is contained in:
Joe Taylor 2016-11-19 18:28:14 +00:00
parent 189dd436dd
commit c8d7421ead
1 changed files with 2 additions and 0 deletions

View File

@ -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;