fix missing parens;

r05a04_dev
Bryan Biedenkapp 3 weeks ago
parent 3a82755aea
commit 6088620ff6

@ -984,7 +984,7 @@ bool LC::decodeMACPDU(const uint8_t* raw)
m_dstId = GET_UINT16(raw, 16U); // Talkgroup Address
break;
case P2_MAC_HEADER_OPCODE::END_PTT:
m_colorCode = (raw[1U] >> 8U & 0x0FU) << 8U + // Color Code
m_colorCode = ((raw[1U] >> 8U & 0x0FU) << 8U) + // Color Code
raw[2U]; // ...
m_srcId = GET_UINT24(raw, 13U); // Source Radio Address
m_dstId = GET_UINT16(raw, 16U); // Talkgroup Address

Loading…
Cancel
Save

Powered by TurnKey Linux.