mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 06:55:52 +08:00
Small UDP modem update.
This commit is contained in:
@@ -77,7 +77,8 @@ int CUDPController::read(unsigned char* buffer, unsigned int length)
|
|||||||
if (avail < length)
|
if (avail < length)
|
||||||
length = avail;
|
length = avail;
|
||||||
|
|
||||||
m_buffer.getData(buffer, length);
|
if (length > 0U)
|
||||||
|
m_buffer.getData(buffer, length);
|
||||||
|
|
||||||
return int(length);
|
return int(length);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user