Fix crash with POCSAG and no network.

This commit is contained in:
Jonathan Naylor
2020-06-08 14:34:29 +01:00
parent 0dbfe896bb
commit 933b9ef014
2 changed files with 3 additions and 2 deletions

View File

@@ -610,7 +610,8 @@ int CMMDVMHost::run()
m_pocsag = new CPOCSAGControl(m_pocsagNetwork, m_display);
pocsagTimer.start();
if (m_pocsagNetwork != NULL)
pocsagTimer.start();
}
bool remoteControlEnabled = m_conf.getRemoteControlEnabled();