Fix reported compilation errors.
This commit is contained in:
parent
ad578c1ccd
commit
dcb9dd31a9
|
@ -511,8 +511,8 @@ void CNXDNAudio::decode(const unsigned char* in, unsigned char* out, unsigned in
|
|||
unsigned int aPos = i + 0U;
|
||||
unsigned int bPos = i + 12U;
|
||||
|
||||
WRITE_BIT(out, aPos, a & MASK);
|
||||
WRITE_BIT(out, bPos, b & MASK);
|
||||
WRITE_BIT(out, aPos, data & MASK);
|
||||
WRITE_BIT(out, bPos, datb & MASK);
|
||||
|
||||
MASK >>= 1;
|
||||
}
|
||||
|
|
|
@ -770,9 +770,9 @@ void CNXDNControl::writeNetwork()
|
|||
m_netLayer3.setData(netData + 5U + 0U, 10U);
|
||||
|
||||
unsigned char type = m_netLayer3.getMessageType();
|
||||
if (type == NXDN_MESSAGE_TYPE_TX_REL && m_netState == RS_RF_LISTENING)
|
||||
if (type == NXDN_MESSAGE_TYPE_TX_REL && m_netState == RS_NET_IDLE)
|
||||
return;
|
||||
if (type == NXDN_MESSAGE_TYPE_VCALL && m_netState != RS_RF_LISTENING)
|
||||
if (type == NXDN_MESSAGE_TYPE_VCALL && m_netState != RS_NET_IDLE)
|
||||
return;
|
||||
|
||||
CNXDNSACCH sacch;
|
||||
|
|
Loading…
Reference in a new issue