From 00f2d46167bb290b423b05f123c0f1390fdf48aa Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Mon, 29 Oct 2018 09:24:52 -0400 Subject: [PATCH] Reduce late start threshold to 2 seconds --- mainwindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index e4a47c2..542e188 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -4112,7 +4112,7 @@ void MainWindow::guiUpdate() // TODO: stop if(msgLength==0 and !m_tune) on_stopTxButton_clicked(); - float lateThreshold=((12.6/4.0)-0.5)/15.0; //0.75; + float lateThreshold=2/15.0; // ((12.6/4.0)-0.5)/15.0; //0.75; if(g_iptt==0 and ((m_bTxTime and fTR0) or m_tune)) { //### Allow late starts icw[0]=m_ncw; @@ -4121,6 +4121,8 @@ void MainWindow::guiUpdate() setXIT (ui->TxFreqSpinBox->value ()); Q_EMIT m_config.transceiver_ptt (true); //Assert the PTT m_tx_when_ready = true; + + qDebug() << "start threshold" << fTR << lateThreshold; } // TODO: stop