mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 22:17:38 +00:00
Fix crash in the SACCH and FACCH1 encoders.
This commit is contained in:
parent
3858cf4aec
commit
8e2c6f6583
6 changed files with 162 additions and 158 deletions
|
|
@ -93,6 +93,15 @@ unsigned char CNXDNLayer3::getCallOptions() const
|
|||
return m_data[2U] & 0x1FU;
|
||||
}
|
||||
|
||||
bool CNXDNLayer3::getHasInfo() const
|
||||
{
|
||||
unsigned char type = getMessageType();
|
||||
|
||||
return type != NXDN_MESSAGE_TYPE_IDLE &&
|
||||
type != NXDN_MESSAGE_TYPE_VCALL_IV &&
|
||||
type != NXDN_MESSAGE_TYPE_SDCALL_IV;
|
||||
}
|
||||
|
||||
CNXDNLayer3& CNXDNLayer3::operator=(const CNXDNLayer3& layer3)
|
||||
{
|
||||
if (&layer3 != this)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue