Disable AP for mycall if more than 5 minutes since last Tx. Used to be 10 minutes.

This commit is contained in:
Steve Franke 2019-04-27 16:38:19 -05:00
parent dc66304a65
commit 3b8b871a7c

View File

@ -2811,7 +2811,7 @@ void MainWindow::decode() //decode()
QDateTime now = QDateTime::currentDateTimeUtc ();
if( m_dateTimeLastTX.isValid () ) {
qint64 isecs_since_tx = m_dateTimeLastTX.secsTo(now);
dec_data.params.lapcqonly= (isecs_since_tx > 600);
dec_data.params.lapcqonly= (isecs_since_tx > 300);
// QTextStream(stdout) << "last tx " << isecs_since_tx << endl;
} else {
m_dateTimeLastTX = now.addSecs(-900);