mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-01-16 05:19:59 +01:00
Roll back holdoff timer changes.
This commit is contained in:
parent
90772a2a9b
commit
e600cf36bb
|
|
@ -171,9 +171,7 @@ bool CDStarControl::writeModem(unsigned char *data)
|
|||
|
||||
m_rfHeader = header;
|
||||
|
||||
if (m_netState == RS_NET_IDLE)
|
||||
m_holdoffTimer.stop();
|
||||
|
||||
m_holdoffTimer.stop();
|
||||
m_ackTimer.stop();
|
||||
|
||||
m_rfBits = 1U;
|
||||
|
|
@ -468,7 +466,6 @@ void CDStarControl::writeNetwork()
|
|||
|
||||
m_netHeader = header;
|
||||
|
||||
m_holdoffTimer.start();
|
||||
m_netTimeoutTimer.start();
|
||||
m_packetTimer.start();
|
||||
m_elapsed.start();
|
||||
|
|
|
|||
|
|
@ -84,8 +84,7 @@ bool CYSFControl::writeModem(unsigned char *data)
|
|||
if (fi == YSF_FI_TERMINATOR)
|
||||
return false;
|
||||
|
||||
if (m_netState == RS_NET_IDLE)
|
||||
m_holdoffTimer.stop();
|
||||
m_holdoffTimer.stop();
|
||||
|
||||
m_rfFrames = 0U;
|
||||
m_rfErrs = 0U;
|
||||
|
|
@ -365,7 +364,6 @@ void CYSFControl::writeNetwork()
|
|||
LogMessage("YSF, received network data from %10.10s to %10.10s at %10.10s", m_netSource, m_netDest, data + 4U);
|
||||
|
||||
m_netTimeoutTimer.start();
|
||||
m_holdoffTimer.start();
|
||||
m_netState = RS_NET_AUDIO;
|
||||
m_netFrames = 0U;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue