Switch off the D-Star network when not in D-Star mode.

This commit is contained in:
Jonathan Naylor
2016-01-26 17:19:41 +00:00
parent afdf3cbb8c
commit 024bb30498
2 changed files with 16 additions and 2 deletions

View File

@@ -46,8 +46,6 @@ m_pollTimer(1000U, 60U)
CStopWatch stopWatch;
::srand(stopWatch.start());
m_pollTimer.start();
}
CDStarNetwork::~CDStarNetwork()
@@ -61,6 +59,8 @@ bool CDStarNetwork::open()
if (m_address.s_addr == INADDR_NONE)
return false;
m_pollTimer.start();
return m_socket.open();
}