mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 13:48:42 -05:00
Minimize useless late starts of transmissions.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8459 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
ece7dff7b3
commit
a6f6554270
@ -3257,8 +3257,9 @@ void MainWindow::guiUpdate()
|
|||||||
}
|
}
|
||||||
|
|
||||||
float fTR=float((nsec%m_TRperiod))/m_TRperiod;
|
float fTR=float((nsec%m_TRperiod))/m_TRperiod;
|
||||||
// if(g_iptt==0 and ((m_bTxTime and fTR<0.4) or m_tune )) {
|
float fTRmax=0.6;
|
||||||
if(g_iptt==0 and ((m_bTxTime and fTR<99) or m_tune )) { //### Allow late starts
|
if(m_config.bHound()) fTRmax=0.07;
|
||||||
|
if(g_iptt==0 and ((m_bTxTime and fTR<fTRmax) or m_tune )) { //### Allow late starts
|
||||||
icw[0]=m_ncw;
|
icw[0]=m_ncw;
|
||||||
g_iptt = 1;
|
g_iptt = 1;
|
||||||
setRig ();
|
setRig ();
|
||||||
@ -3567,7 +3568,7 @@ void MainWindow::guiUpdate()
|
|||||||
if(m_config.bHound()) {
|
if(m_config.bHound()) {
|
||||||
m_bWarnedHound=false;
|
m_bWarnedHound=false;
|
||||||
qint32 tHound=QDateTime::currentMSecsSinceEpoch()/1000 - m_tAutoOn;
|
qint32 tHound=QDateTime::currentMSecsSinceEpoch()/1000 - m_tAutoOn;
|
||||||
//To keep calling, Hound must reactivate Enable Tx at least once every 2 minutes:
|
//To keep calling Fox, Hound must reactivate Enable Tx at least once every 2 minutes
|
||||||
if(tHound >= 120) auto_tx_mode(false);
|
if(tHound >= 120) auto_tx_mode(false);
|
||||||
}
|
}
|
||||||
if(m_auto and m_mode=="Echo" and m_bEchoTxOK) {
|
if(m_auto and m_mode=="Echo" and m_bEchoTxOK) {
|
||||||
|
@ -428,6 +428,7 @@ private:
|
|||||||
qint32 m_Nlist=12;
|
qint32 m_Nlist=12;
|
||||||
qint32 m_Nslots=5;
|
qint32 m_Nslots=5;
|
||||||
qint32 m_nFoxMsgTimes[5]={0,0,0,0,0};
|
qint32 m_nFoxMsgTimes[5]={0,0,0,0,0};
|
||||||
|
qint32 m_tAutoOn;
|
||||||
|
|
||||||
bool m_btxok; //True if OK to transmit
|
bool m_btxok; //True if OK to transmit
|
||||||
bool m_diskData;
|
bool m_diskData;
|
||||||
|
Loading…
Reference in New Issue
Block a user