diff --git a/mainwindow.cpp b/mainwindow.cpp index 1164eab..9c942d2 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -3956,9 +3956,9 @@ void MainWindow::startTx() ui->rbNextFreeTextMsg->setChecked(true); if (m_transmitting) m_restart=true; - // detect if we're currently in a possible transmit cycle...and if so, wait until the next one... + // detect if we're currently in a possible transmit cycle...and if so, wait until the next one if we're more than 2 seconds in... QDateTime now {QDateTime::currentDateTimeUtc()}; - int s=now.time().second(); + int s=now.addSecs(-2).time().second(); int n=s % (2*m_TRperiod); if((n <= m_TRperiod && m_txFirst) || (n > m_TRperiod && !m_txFirst)){ ui->txFirstCheckBox->setChecked(!m_txFirst);