mirror of
https://github.com/g4klx/MMDVMHost
synced 2026-02-04 22:05:41 +08:00
Fix other crashes
This commit is contained in:
@@ -97,7 +97,8 @@ unsigned int CPOCSAGControl::readModem(unsigned char* data)
|
||||
|
||||
bool CPOCSAGControl::processData()
|
||||
{
|
||||
assert(m_network != NULL);
|
||||
if (m_network == NULL)
|
||||
return false;
|
||||
|
||||
unsigned char data[300U];
|
||||
unsigned int length = m_network->read(data);
|
||||
|
||||
Reference in New Issue
Block a user