Remove the unused packetTimer from the M17 controller.

This commit is contained in:
Jonathan Naylor 2021-08-17 10:54:59 +01:00
parent 9cea26ec62
commit 2a63f83a9b
2 changed files with 0 additions and 5 deletions

View file

@ -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;

View file

@ -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;