mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-22 08:05:49 +08:00
Add the holdoff timers.
This commit is contained in:
@@ -466,6 +466,7 @@ void CDStarControl::writeNetwork()
|
|||||||
|
|
||||||
m_netHeader = header;
|
m_netHeader = header;
|
||||||
|
|
||||||
|
m_holdoffTimer.start();
|
||||||
m_netTimeoutTimer.start();
|
m_netTimeoutTimer.start();
|
||||||
m_packetTimer.start();
|
m_packetTimer.start();
|
||||||
m_elapsed.start();
|
m_elapsed.start();
|
||||||
|
|||||||
@@ -346,6 +346,7 @@ void CYSFControl::writeNetwork()
|
|||||||
m_display->writeFusion("??????????", "??????????", "N");
|
m_display->writeFusion("??????????", "??????????", "N");
|
||||||
LogMessage("YSF, received network data from ?????????? to ??????????");
|
LogMessage("YSF, received network data from ?????????? to ??????????");
|
||||||
m_netTimeoutTimer.start();
|
m_netTimeoutTimer.start();
|
||||||
|
m_holdoffTimer.start();
|
||||||
m_netState = RS_NET_AUDIO;
|
m_netState = RS_NET_AUDIO;
|
||||||
m_netFrames = 0U;
|
m_netFrames = 0U;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user