From abc2b4bd83cc88a5fd6a7bde9e1be040afca64a0 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Sat, 13 Apr 2013 15:18:29 +0000 Subject: [PATCH] Don't start a transmission more than 24 sec into the Tx period. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3164 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 383e1f474..2f6793064 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1399,7 +1399,8 @@ void MainWindow::guiUpdate() bTxTime=true; } - if(bTxTime and m_iptt==0 and !btxMute) { + float fTR=float((nsec%m_TRperiod))/m_TRperiod; + if(bTxTime and m_iptt==0 and !btxMute and fTR<0.4) { icw[0]=m_ncw; //Raise PTT