We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 812c94a commit cdfa2afCopy full SHA for cdfa2af
1 file changed
dmr.cpp
@@ -993,7 +993,7 @@ void DSDDMR::processSlotTypePDU()
993
994
unsigned int dataType = (slotTypeBits[4] << 3) + (slotTypeBits[5] << 2) + (slotTypeBits[6] << 1) + slotTypeBits[7];
995
996
- if (dataType > DMR_TYPES_COUNT)
+ if (dataType >= DMR_TYPES_COUNT)
997
{
998
m_dataType = DSDDMRDataReserved;
999
memcpy(&m_slotText[4], "RES", 3);
0 commit comments