mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 14:35:31 +00:00
Fix other crashes
This commit is contained in:
parent
713d12e5a4
commit
b66a92bb9c
3 changed files with 6 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue