mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 15:09:23 +08:00
Remove the unused packetTimer from the M17 controller.
This commit is contained in:
@@ -70,7 +70,6 @@ m_rfState(RS_RF_LISTENING),
|
||||
m_netState(RS_NET_IDLE),
|
||||
m_rfTimeoutTimer(1000U, timeout),
|
||||
m_netTimeoutTimer(1000U, timeout),
|
||||
m_packetTimer(1000U, 0U, 200U),
|
||||
m_networkWatchdog(1000U, 0U, 1500U),
|
||||
m_elapsed(),
|
||||
m_rfFrames(0U),
|
||||
@@ -384,7 +383,6 @@ void CM17Control::writeEndNet()
|
||||
|
||||
m_netTimeoutTimer.stop();
|
||||
m_networkWatchdog.stop();
|
||||
m_packetTimer.stop();
|
||||
|
||||
m_netLSF.reset();
|
||||
|
||||
@@ -445,7 +443,6 @@ void CM17Control::writeNetwork()
|
||||
m_display->writeM17(source.c_str(), dest.c_str(), "N");
|
||||
|
||||
m_netTimeoutTimer.start();
|
||||
m_packetTimer.start();
|
||||
m_elapsed.start();
|
||||
m_netFrames = 0U;
|
||||
m_netLSFn = 0U;
|
||||
@@ -762,7 +759,6 @@ void CM17Control::enable(bool enabled)
|
||||
|
||||
m_netTimeoutTimer.stop();
|
||||
m_networkWatchdog.stop();
|
||||
m_packetTimer.stop();
|
||||
}
|
||||
|
||||
m_enabled = enabled;
|
||||
|
||||
@@ -60,7 +60,6 @@ private:
|
||||
RPT_NET_STATE m_netState;
|
||||
CTimer m_rfTimeoutTimer;
|
||||
CTimer m_netTimeoutTimer;
|
||||
CTimer m_packetTimer;
|
||||
CTimer m_networkWatchdog;
|
||||
CStopWatch m_elapsed;
|
||||
unsigned int m_rfFrames;
|
||||
|
||||
Reference in New Issue
Block a user