mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 15:04:18 +00:00
Switch off the D-Star network when not in D-Star mode.
This commit is contained in:
parent
afdf3cbb8c
commit
024bb30498
2 changed files with 16 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue