mirror of
https://github.com/g4klx/MMDVMHost
synced 2026-02-04 22:05:41 +08:00
Fix other crashes
This commit is contained in:
@@ -595,6 +595,10 @@ unsigned int CP25Control::readModem(unsigned char* data)
|
||||
void CP25Control::writeNetwork()
|
||||
{
|
||||
unsigned char data[100U];
|
||||
|
||||
if (m_network == NULL)
|
||||
return;
|
||||
|
||||
unsigned int length = m_network->read(data, 100U);
|
||||
if (length == 0U)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user