mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-02-03 09:44:24 -05:00
Disable AP for mycall if more than 5 minutes since last Tx. Used to be 10 minutes.
This commit is contained in:
parent
dc66304a65
commit
3b8b871a7c
@ -2811,7 +2811,7 @@ void MainWindow::decode() //decode()
|
|||||||
QDateTime now = QDateTime::currentDateTimeUtc ();
|
QDateTime now = QDateTime::currentDateTimeUtc ();
|
||||||
if( m_dateTimeLastTX.isValid () ) {
|
if( m_dateTimeLastTX.isValid () ) {
|
||||||
qint64 isecs_since_tx = m_dateTimeLastTX.secsTo(now);
|
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;
|
// QTextStream(stdout) << "last tx " << isecs_since_tx << endl;
|
||||||
} else {
|
} else {
|
||||||
m_dateTimeLastTX = now.addSecs(-900);
|
m_dateTimeLastTX = now.addSecs(-900);
|
||||||
|
Loading…
Reference in New Issue
Block a user