Fix Windows.

This commit is contained in:
Jonathan Naylor
2020-09-20 21:24:13 +01:00
parent 5051efa78d
commit 7934cc78bb
3 changed files with 21 additions and 14 deletions

View File

@@ -190,6 +190,8 @@ m_rxFrequency(0U)
,m_gpsd(NULL)
#endif
{
CUDPSocket::startup();
m_status = new DMRGW_STATUS[3U];
m_status[1U] = DMRGWS_NONE;
m_status[2U] = DMRGWS_NONE;
@@ -267,6 +269,8 @@ CDMRGateway::~CDMRGateway()
delete[] m_status;
delete[] m_config;
CUDPSocket::shutdown();
}
int CDMRGateway::run()